return;
case CL_SENDING_STDIN:
if (*pcd->in_loaded) {
- PARA_INFO_LOG("loaded: %d\n", *pcd->in_loaded);
+ PARA_INFO_LOG("loaded: %zd\n", *pcd->in_loaded);
para_fd_set(pcd->fd, &s->wfds, &s->max_fileno);
pcd->check_w = 1;
} else {
pcd->status = CL_RECEIVING_SERVER_OUTPUT;
return;
case CL_SENDING_STDIN: /* FIXME: might block */
- PARA_INFO_LOG("loaded: %d\n", *pcd->in_loaded);
+ PARA_INFO_LOG("loaded: %zd\n", *pcd->in_loaded);
t->ret = send_bin_buffer(pcd->fd, pcd->inbuf, *pcd->in_loaded);
if (t->ret <= 0) {
if (!t->ret)
loaded = &fn->loaded;
}
conv_total += conv;
- PARA_DEBUG_LOG("eof (in/out/fc): %d/%d/%d out_loaded: %d, "
+ PARA_DEBUG_LOG("eof (in/out/fc): %d/%d/%d out_loaded: %zd, "
"conv: %d, conv_total: %d\n", *fc->input_eof,
fc->output_eof? *fc->output_eof : -42,
fc->eof, *fc->out_loaded, conv, conv_total);