diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-20 08:26:46 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-20 08:26:46 +0000 |
commit | 2099db186436a43afa2babfd55e6e8b6d0a4991d (patch) | |
tree | 35813266377359f35882f1ba2d2ee43247b15513 | |
parent | 5c0927bb8e626a7e4c01a31eba2ec1edacca55c6 (diff) | |
download | gnunet-2099db186436a43afa2babfd55e6e8b6d0a4991d.tar.gz gnunet-2099db186436a43afa2babfd55e6e8b6d0a4991d.zip |
-initialize state_key to fix #2089
-rw-r--r-- | src/exit/gnunet-daemon-exit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/exit/gnunet-daemon-exit.c b/src/exit/gnunet-daemon-exit.c index c437afac2..9ab2738e6 100644 --- a/src/exit/gnunet-daemon-exit.c +++ b/src/exit/gnunet-daemon-exit.c | |||
@@ -1007,6 +1007,7 @@ setup_state_record (struct TunnelState *state) | |||
1007 | buf, sizeof (buf)), | 1007 | buf, sizeof (buf)), |
1008 | (unsigned int) state->ri.local_address.port); | 1008 | (unsigned int) state->ri.local_address.port); |
1009 | } | 1009 | } |
1010 | state->state_key = key; | ||
1010 | GNUNET_assert (GNUNET_OK == | 1011 | GNUNET_assert (GNUNET_OK == |
1011 | GNUNET_CONTAINER_multihashmap_put (connections_map, | 1012 | GNUNET_CONTAINER_multihashmap_put (connections_map, |
1012 | &key, state, | 1013 | &key, state, |