From: Wilfried Goesgens Date: Tue, 24 Jan 2012 21:01:37 +0000 (+0100) Subject: Networker: if there is no file, quit the way it should. X-Git-Tag: v8.11~217^2~5 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=ec0a4cb5362a819391fd15269e34f28b820a1305;hp=e87e48ef3d17a2010e08d22ea6d72693c8d1e441 Networker: if there is no file, quit the way it should. --- diff --git a/citadel/modules/network/serv_networkclient.c b/citadel/modules/network/serv_networkclient.c index 190121a98..24e354a5c 100644 --- a/citadel/modules/network/serv_networkclient.c +++ b/citadel/modules/network/serv_networkclient.c @@ -437,6 +437,7 @@ eNextState NWC_SendNUOP(AsyncNetworker *NW) NW->State = eQUIT; rc = NWC_SendQUIT(NW); NWC_DBG_SEND(); + return rc; } if (fstat(fd, &statbuf) == -1) {