From: Matthias Wachs Date: Thu, 8 Aug 2013 13:24:53 +0000 (+0000) Subject: fix for resolver timeout issues X-Git-Tag: initial-import-from-subversion-38251~7950 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bc976aa7bc3f0a6b45cce418eb3c7700e288579b;p=oweals%2Fgnunet.git fix for resolver timeout issues --- diff --git a/src/util/resolver_api.c b/src/util/resolver_api.c index 2247b49c6..7acc0f87f 100644 --- a/src/util/resolver_api.c +++ b/src/util/resolver_api.c @@ -357,10 +357,10 @@ handle_response (void *cls, const struct GNUNET_MessageHeader *msg) { /* no reverse lookup was successful, return ip as string */ if (rh->received_response == GNUNET_NO) - rh->name_callback (rh->cls, - no_resolve (rh->af, - &rh[1], - rh->data_len)); + { + rh->name_callback (rh->cls, no_resolve (rh->af, &rh[1], rh->data_len)); + rh->name_callback (rh->cls, NULL); + } /* at least one reverse lookup was successful */ else rh->name_callback (rh->cls, NULL);