-initialize state_key to fix #2089
authorChristian Grothoff <christian@grothoff.org>
Fri, 20 Jan 2012 08:26:46 +0000 (08:26 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 20 Jan 2012 08:26:46 +0000 (08:26 +0000)
src/exit/gnunet-daemon-exit.c

index c437afac2b27b986898333fb5b5076982fc88d16..9ab2738e64ff3ab0e7d90431b0dfe7922a4109a9 100644 (file)
@@ -1007,6 +1007,7 @@ setup_state_record (struct TunnelState *state)
                           buf, sizeof (buf)),
                (unsigned int) state->ri.local_address.port);  
   }
+  state->state_key = key;
   GNUNET_assert (GNUNET_OK ==
                 GNUNET_CONTAINER_multihashmap_put (connections_map, 
                                                    &key, state,