projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Buffered output needs to be flushed in several places. Added calls to
[citadel.git]
/
citadel
/
file_ops.c
diff --git
a/citadel/file_ops.c
b/citadel/file_ops.c
index cc0fd8ee2926e745a2e2bd11e97518111d6c0dbf..1f94f23e931acb8eecff69f36e53e009197ae24d 100644
(file)
--- a/
citadel/file_ops.c
+++ b/
citadel/file_ops.c
@@
-726,6
+726,7
@@
void cmd_writ(char *cmdbuf)
}
cprintf("%d %d\n", SEND_BINARY, bytes);
+ flush_output();
client_read(buf, bytes);
fwrite(buf, bytes, 1, CC->upload_fp);
}