X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=http_recv.c;h=04f872133b1d5d8844691a2ef29caf07ce97f2f5;hp=2e3a11b3ee0a1d667b54d06aff3fc78dd51c42e6;hb=f7bcc2f6c96ef5c42ad4038daea3fb323680e3f5;hpb=2ed89c59f0efcd0a2763f47c7d3455663241e623 diff --git a/http_recv.c b/http_recv.c index 2e3a11b3..04f87213 100644 --- a/http_recv.c +++ b/http_recv.c @@ -139,7 +139,7 @@ static int http_post_select(struct receiver_node *rn, int select_ret, } ret = recv_bin_buffer(phd->fd, rn->buf + rn->loaded, BUFSIZE - rn->loaded); if (ret <= 0) { - PARA_NOTICE_LOG("recv returned %d/%d\n", ret, BUFSIZE - rn->loaded); + PARA_NOTICE_LOG("recv returned %d/%zd\n", ret, BUFSIZE - rn->loaded); return ret < 0? -E_HTTP_RECV_BUF : 0; } rn->loaded += ret;