From 3ed1a0a351ef02182504649afcb18d51277e6da5 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 18 Mar 2013 11:31:11 +0000 Subject: -always call CB with correct closure --- src/consensus/consensus_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/consensus/consensus_api.c') 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) 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; } -- cgit v1.2.3