X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=net.c;h=f896f564308213407fc8048512b1a53a56108fe1;hp=9a93553985516b0db7150d20af99136b33165910;hb=2bb9fcbfa99cf30a6f46ba33fd95c0a456a225cc;hpb=ea689d919fd6fdbfaba2de9d1cd207e033c319fd diff --git a/net.c b/net.c index 9a935539..f896f564 100644 --- a/net.c +++ b/net.c @@ -6,8 +6,8 @@ /** \file net.c networking-related helper functions */ -#include "error.h" #include "para.h" +#include "error.h" #include "net.h" #include "string.h" @@ -120,7 +120,7 @@ static int sendall(int fd, const char *buf, size_t *len) total += n; bytesleft -= n; if (total < *len) - PARA_DEBUG_LOG("short write (%zd byte(s) left)", + PARA_DEBUG_LOG("short write (%zd byte(s) left)\n", *len - total); } *len = total; /* return number actually sent here */