$Log$
+ Revision 625.14 2004/09/06 00:59:01 error
+ * file_ops.c: cmd_writ(): Add an unbuffer_output() that I forgot.
+
Revision 625.13 2004/09/05 17:39:09 error
* Buffered output needs to be flushed in several places. Added calls to
flush_output(). (basically anywhere where we send a response and then
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
-
int bytes;
char buf[4096];
+ unbuffer_output();
+
bytes = extract_int(cmdbuf, 0);
if (CC->upload_fp == NULL) {
}
cprintf("%d %d\n", SEND_BINARY, bytes);
- flush_output();
client_read(buf, bytes);
fwrite(buf, bytes, 1, CC->upload_fp);
}