projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
control when not first chunk.
[citadel.git]
/
webcit
/
tcp_sockets.c
diff --git
a/webcit/tcp_sockets.c
b/webcit/tcp_sockets.c
index 4a60fed494853a913bd325b4c7ce11ae107977b6..730bb8c69cc2e217af0ed2061d6a18e88fb7b794 100644
(file)
--- 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;
}