X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=http_recv.c;h=0a460adff4009428e8d457a30ff2426e4cc93deb;hp=f82924d9cfd728c83f4bed516fc4e84dbe21e139;hb=5c556c52f1196cea4536d36b683372de532943a9;hpb=74d8b443aba528dc65af874a81c53be26aaace9e diff --git a/http_recv.c b/http_recv.c index f82924d9..0a460adf 100644 --- a/http_recv.c +++ b/http_recv.c @@ -6,6 +6,9 @@ /** \file http_recv.c paraslash's http receiver */ +#include +#include + #include "para.h" #include "error.h" #include "http.h" @@ -187,7 +190,7 @@ static int http_recv_open(struct receiver_node *rn) close(phd->fd); goto err_out; } - mark_fd_nonblock(phd->fd); + mark_fd_nonblocking(phd->fd); phd->status = HTTP_CONNECTED; return 1; err_out: