fix
authorChristian Grothoff <christian@grothoff.org>
Fri, 15 Jul 2011 12:10:45 +0000 (12:10 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 15 Jul 2011 12:10:45 +0000 (12:10 +0000)
src/transport/plugin_transport_http.c

index 2c87e0788b65f71503a83bd7e403fc5bc8b09ef2..bb2b01e0eadeabea8f9d0876106b43cc50e2b7c7 100644 (file)
@@ -1022,10 +1022,11 @@ mhd_write_mst_cb (void *cls,
                  const struct GNUNET_MessageHeader *message)
 {
   struct Session *ps  = cls; 
-  struct HTTP_PeerContext *pc = ps->peercontext;
+  struct HTTP_PeerContext *pc;
   struct GNUNET_TIME_Relative delay;
 
   GNUNET_assert(ps != NULL);
+  pc = ps->peercontext;
   GNUNET_assert(pc != NULL);
 #if DEBUG_HTTP
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,