From c729a7182ee1360b773588b8a45abad69ea5b54a Mon Sep 17 00:00:00 2001 From: David Barksdale Date: Thu, 30 Sep 2010 21:58:54 +0000 Subject: [PATCH] Fix NULL pointer check. --- src/transport/transport_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transport/transport_api.c b/src/transport/transport_api.c index 1eea40bb7..02f69fcad 100644 --- a/src/transport/transport_api.c +++ b/src/transport/transport_api.c @@ -1135,7 +1135,7 @@ neighbour_disconnect (struct NeighbourList *n) #endif GNUNET_break (n->is_connected == GNUNET_YES); n->is_connected = GNUNET_NO; - if (h->nc_cb != NULL) + if (h->nd_cb != NULL) h->nd_cb (h->cls, &n->id); if (n->transmit_stage == TS_NEW) neighbour_free (n); -- 2.25.1