From 773109ae28be6e2e5243601b5166464136bd0299 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Fri, 5 Nov 2010 00:12:50 +0100 Subject: [PATCH] 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. --- citadel/modules/network/serv_network.c | 1 + 1 file changed, 1 insertion(+) diff --git a/citadel/modules/network/serv_network.c b/citadel/modules/network/serv_network.c index e377c3f0a..679b9f44c 100644 --- a/citadel/modules/network/serv_network.c +++ b/citadel/modules/network/serv_network.c @@ -458,6 +458,7 @@ void cmd_snet(char *argbuf) { tempfilename, strerror(errno)); unlink(tempfilename); + return; } Line = NewStrBuf(); -- 2.39.2