fix 1903
authorChristian Grothoff <christian@grothoff.org>
Tue, 15 Nov 2011 08:12:43 +0000 (08:12 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 15 Nov 2011 08:12:43 +0000 (08:12 +0000)
src/transport/plugin_transport_http.c

index 571b0db496f0e601e9bf67a59c783265f26f1c59..4f15a95a2b1ad6d6565ba3e7be8942ebd4335c36 100644 (file)
@@ -461,7 +461,7 @@ notify_session_end (void *cls, const struct GNUNET_PeerIdentity *peer,
 {
   struct Plugin *plugin = cls;
 
-  plugin->env->session_end (NULL, peer, s);
+  plugin->env->session_end (plugin->env->cls, peer, s);
   GNUNET_CONTAINER_DLL_remove (plugin->head, plugin->tail, s);
   delete_session (s);
 }