Revert "Revert "Networker: if remote tells us to send more than our send limit, say...
authorArt Cancro <ajc@uncensored.citadel.org>
Fri, 13 Apr 2012 16:18:58 +0000 (12:18 -0400)
committerArt Cancro <ajc@uncensored.citadel.org>
Fri, 13 Apr 2012 16:18:58 +0000 (12:18 -0400)
This reverts commit a4e2ade5c12e0686da445bdfe92b05c3e567ccd7.

citadel/file_ops.c

index 8491948925a970546bb146e3a6040a62fba8964d..460e2a85b462df566385f4211d44f983d8b6d52e 100644 (file)
@@ -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);