diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-03-18 11:31:11 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-03-18 11:31:11 +0000 |
commit | 3ed1a0a351ef02182504649afcb18d51277e6da5 (patch) | |
tree | a2d9220c87f39beac0227f523c0adfb8e8025c78 /src/consensus/consensus_api.c | |
parent | b7847284934b21a228b332daf15804e2605e3355 (diff) | |
download | gnunet-3ed1a0a351ef02182504649afcb18d51277e6da5.tar.gz gnunet-3ed1a0a351ef02182504649afcb18d51277e6da5.zip |
-always call CB with correct closure
Diffstat (limited to 'src/consensus/consensus_api.c')
-rw-r--r-- | src/consensus/consensus_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/consensus/consensus_api.c b/src/consensus/consensus_api.c index e970040e1..450d7b02c 100644 --- a/src/consensus/consensus_api.c +++ b/src/consensus/consensus_api.c | |||
@@ -313,7 +313,7 @@ message_handler (void *cls, const struct GNUNET_MessageHeader *msg) | |||
313 | LOG (GNUNET_ERROR_TYPE_ERROR, "error receiving\n"); | 313 | LOG (GNUNET_ERROR_TYPE_ERROR, "error receiving\n"); |
314 | GNUNET_CLIENT_disconnect (consensus->client); | 314 | GNUNET_CLIENT_disconnect (consensus->client); |
315 | consensus->client = NULL; | 315 | consensus->client = NULL; |
316 | consensus->new_element_cb (NULL, NULL); | 316 | consensus->new_element_cb (consensus->new_element_cls, NULL); |
317 | return; | 317 | return; |
318 | } | 318 | } |
319 | 319 | ||