From 745aec69ca5f28d1db95f3add161c0690f25cc32 Mon Sep 17 00:00:00 2001 From: Omar Tarabai Date: Tue, 13 May 2014 14:54:00 +0000 Subject: warning fix --- src/peerstore/peerstore_api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/peerstore/peerstore_api.c') diff --git a/src/peerstore/peerstore_api.c b/src/peerstore/peerstore_api.c index ffe973df4..63b64eaf6 100644 --- a/src/peerstore/peerstore_api.c +++ b/src/peerstore/peerstore_api.c @@ -534,8 +534,8 @@ void store_trigger_receive(void *cls, const char *emsg) cont_cls = sc->cont_cls; GNUNET_PEERSTORE_store_cancel (sc); reconnect (h); - if (NULL != sc->cont) - sc->cont (sc->cont_cls, emsg); + if (NULL != cont) + cont (cont_cls, emsg); return; } LOG (GNUNET_ERROR_TYPE_DEBUG, "Waiting for response from `%s' service.\n", -- cgit v1.2.3