From: Art Cancro Date: Fri, 13 Apr 2012 16:18:58 +0000 (-0400) Subject: Revert "Revert "Networker: if remote tells us to send more than our send limit, say... X-Git-Tag: v8.11~96 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=b9e20402616d9fd637870b370453436b8e7f2418;hp=7503f872f1d5fba349e0c6af6a017881fe97316b;p=citadel.git Revert "Revert "Networker: if remote tells us to send more than our send limit, say we will only send the limit in this chunk instead of failing."" This reverts commit a4e2ade5c12e0686da445bdfe92b05c3e567ccd7. --- diff --git a/citadel/file_ops.c b/citadel/file_ops.c index 849194892..460e2a85b 100644 --- a/citadel/file_ops.c +++ b/citadel/file_ops.c @@ -689,9 +689,7 @@ void cmd_writ(char *cmdbuf) } if (bytes > 100000) { - cprintf("%d You may not write more than 100000 bytes.\n", - ERROR + TOO_BIG); - return; + bytes = 100000; } cprintf("%d %d\n", SEND_BINARY, bytes);