fix uninit variable causing crash on 0 value
[oweals/gnunet.git] / src / gns / gnunet-gns-proxy.c
index 052b06f1c109903ba34e06144aa412b05b28af34..3a38970a824a48162db57d600662488cee59eb59 100644 (file)
@@ -1761,7 +1761,8 @@ create_response (void *cls,
   {
 
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
-                "Processing %lu bytes UPLOAD\n", *upload_data_size);
+                "Processing %u bytes UPLOAD\n",
+               (unsigned int) *upload_data_size);
     
     /* FIXME: This must be set or a header with Transfer-Encoding: chunked. Else
      * upload callback is not called!
@@ -1896,8 +1897,6 @@ mhd_connection_cb (void *cls,
           break;
         }
       }
-      if (NULL == s5r)
-        GNUNET_break (0);
       s5r->ssl_checked = GNUNET_NO;
       break;
     case MHD_CONNECTION_NOTIFY_CLOSED: