From: Wilfried Goesgens Date: Thu, 4 Nov 2010 23:12:50 +0000 (+0100) Subject: if we tell the client we're in error state, return. X-Git-Tag: v7.86~40 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=e8c44fc2fdc87e34de88764ae62b1eeb0d7a1731 if we tell the client we're in error state, return. if SNET would fail to open the temporary file, it would tell the client 'error' and continue to read -> hang we now abort after reporting the error. --- diff --git a/citadel/modules/network/serv_network.c b/citadel/modules/network/serv_network.c index 7186ebdd9..a5ddd83e0 100644 --- a/citadel/modules/network/serv_network.c +++ b/citadel/modules/network/serv_network.c @@ -460,6 +460,7 @@ void cmd_snet(char *argbuf) { tempfilename, strerror(errno)); unlink(tempfilename); + return; } Line = NewStrBuf();