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 | |
parent | b7847284934b21a228b332daf15804e2605e3355 (diff) |
-always call CB with correct closure
-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 e970040e14..450d7b02c2 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) LOG (GNUNET_ERROR_TYPE_ERROR, "error receiving\n"); GNUNET_CLIENT_disconnect (consensus->client); consensus->client = NULL; - consensus->new_element_cb (NULL, NULL); + consensus->new_element_cb (consensus->new_element_cls, NULL); return; } |