projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99f5a23
)
Revert "Networker: if remote tells us to send more than our send limit, say we will...
author
Art Cancro
<ajc@uncensored.citadel.org>
Fri, 13 Apr 2012 16:06:33 +0000
(12:06 -0400)
committer
Art Cancro
<ajc@uncensored.citadel.org>
Fri, 13 Apr 2012 16:06:33 +0000
(12:06 -0400)
This reverts commit
a54b6cfde340606e5b8c41de3dbe08f15b2f1394
.
citadel/file_ops.c
patch
|
blob
|
history
diff --git
a/citadel/file_ops.c
b/citadel/file_ops.c
index 460e2a85b462df566385f4211d44f983d8b6d52e..8491948925a970546bb146e3a6040a62fba8964d 100644
(file)
--- a/
citadel/file_ops.c
+++ b/
citadel/file_ops.c
@@
-689,7
+689,9
@@
void cmd_writ(char *cmdbuf)
}
if (bytes > 100000) {
- bytes = 100000;
+ cprintf("%d You may not write more than 100000 bytes.\n",
+ ERROR + TOO_BIG);
+ return;
}
cprintf("%d %d\n", SEND_BINARY, bytes);