]> code.citadel.org Git - citadel.git/blobdiff - citadel/sysdep.c
* Slightly more computationally efficient version of memfmout() that doesn't use...
[citadel.git] / citadel / sysdep.c
index d748de23a02a5bd7a109064c01af0079c92a14b8..ce584837b5f04eb34f324820a2bf15e6beeb90f6 100644 (file)
@@ -461,6 +461,8 @@ int client_write(const char *buf, int nbytes)
        CitContext *Ctx;
        int fdflags;
 
+       if (nbytes < 1) return(0);
+
 //     flush_client_inbuf();
        Ctx = CC;
        if (Ctx->redirect_buffer != NULL) {