From 5ad2fb7a2711caef88943b8a7c4ec10b6758b821 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 15 Jul 2011 12:10:45 +0000 Subject: [PATCH] fix --- src/transport/plugin_transport_http.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/transport/plugin_transport_http.c b/src/transport/plugin_transport_http.c index 2c87e0788..bb2b01e0e 100644 --- a/src/transport/plugin_transport_http.c +++ b/src/transport/plugin_transport_http.c @@ -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, -- 2.25.1