From a54b6cfde340606e5b8c41de3dbe08f15b2f1394 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Fri, 6 Apr 2012 17:39:54 +0200 Subject: [PATCH] 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. --- citadel/file_ops.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); -- 2.30.2