* Fixed some warnings
authorArt Cancro <ajc@citadel.org>
Wed, 24 Feb 2010 17:47:17 +0000 (17:47 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 24 Feb 2010 17:47:17 +0000 (17:47 +0000)
citadel/sysdep.c

index a0b27a46e336b981822dc891972f37fae8426d50..3870ab906e3907e5e08c3772cc4c4cb9dc56b02d 100644 (file)
@@ -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");