X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Ftcp_sockets.c;h=730bb8c69cc2e217af0ed2061d6a18e88fb7b794;hb=2d232cfc36501a6a40700e59d994307b3be14d0e;hp=4a60fed494853a913bd325b4c7ce11ae107977b6;hpb=7c588796fb97b7a6bebea38c82ece6d2f1fe94aa;p=citadel.git diff --git a/webcit/tcp_sockets.c b/webcit/tcp_sockets.c index 4a60fed49..730bb8c69 100644 --- a/webcit/tcp_sockets.c +++ b/webcit/tcp_sockets.c @@ -644,6 +644,7 @@ void serv_read_binary_to_http(StrBuf *MimeType, size_t total_len, int is_static, StrBufPrintf(BufHeader, "%s%x\r\n", (first)?"":"\r\n", StrLength (WCC->WBuf)); + first = 0; if (send_http(BufHeader) < 0) break; }