Networker: if there is no file, quit the way it should.
authorWilfried Goesgens <dothebart@citadel.org>
Tue, 24 Jan 2012 21:01:37 +0000 (22:01 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Tue, 24 Jan 2012 21:01:37 +0000 (22:01 +0100)
citadel/modules/network/serv_networkclient.c

index 190121a9867f9269406b40bbf91652b7f82b740d..24e354a5c37e2006f124baa55f99389ff3c5308d 100644 (file)
@@ -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) {