aboutsummaryrefslogtreecommitdiff
path: root/src/consensus/consensus_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-03-18 11:31:11 +0000
committerChristian Grothoff <christian@grothoff.org>2013-03-18 11:31:11 +0000
commit3ed1a0a351ef02182504649afcb18d51277e6da5 (patch)
treea2d9220c87f39beac0227f523c0adfb8e8025c78 /src/consensus/consensus_api.c
parentb7847284934b21a228b332daf15804e2605e3355 (diff)
downloadgnunet-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.c2
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