From: Art Cancro Date: Wed, 24 Feb 2010 17:47:17 +0000 (+0000) Subject: * Fixed some warnings X-Git-Tag: v7.86~381 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=6aa2397222e8eb94b061034d07f36a56d09873b9;p=citadel.git * Fixed some warnings --- diff --git a/citadel/sysdep.c b/citadel/sysdep.c index a0b27a46e..3870ab906 100644 --- a/citadel/sysdep.c +++ b/citadel/sysdep.c @@ -436,6 +436,7 @@ void flush_output(void) { #endif } +/* static void flush_client_inbuf(void) { CitContext *CCC=CC; @@ -444,6 +445,7 @@ static void flush_client_inbuf(void) CCC->Pos = NULL; } +*/ /* * client_write() ... Send binary data to the client. @@ -566,6 +568,7 @@ int client_read_blob(StrBuf *Target, int bytes, int timeout) CitContext *CCC=CC; const char *Error; int retval = 0; + int rv = 0; #ifdef HAVE_OPENSSL if (CCC->redirect_ssl) { @@ -598,7 +601,7 @@ int client_read_blob(StrBuf *Target, int bytes, int timeout) fd = fopen(fn, "a+"); fprintf(fd, "Read: BufSize: %d BufContent: [", StrLength(Target)); - fwrite(ChrPtr(Target), StrLength(Target), 1, fd); + rv = fwrite(ChrPtr(Target), StrLength(Target), 1, fd); fprintf(fd, "]\n");