diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-06-25 06:24:01 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-06-25 06:24:01 +0000 |
commit | 8a3016481ba6aeb36de3950a56e641dda53ca544 (patch) | |
tree | 0c5468ec6e5d2165ad5931940e0b8439d09398de /src/util/resolver_api.c | |
parent | b6d4eeb39fd0cd41df164bd0959f58b08aa45e83 (diff) | |
download | gnunet-8a3016481ba6aeb36de3950a56e641dda53ca544.tar.gz gnunet-8a3016481ba6aeb36de3950a56e641dda53ca544.zip |
the big NAT change
Diffstat (limited to 'src/util/resolver_api.c')
-rw-r--r-- | src/util/resolver_api.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/util/resolver_api.c b/src/util/resolver_api.c index 6127badeb..4261f495c 100644 --- a/src/util/resolver_api.c +++ b/src/util/resolver_api.c | |||
@@ -348,9 +348,14 @@ handle_response (void *cls, | |||
348 | #endif | 348 | #endif |
349 | if (msg == NULL) | 349 | if (msg == NULL) |
350 | { | 350 | { |
351 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 351 | if (NULL != rh->name_callback) |
352 | _("Timeout trying to resolve IP address `%s'.\n"), | 352 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
353 | GNUNET_a2s ((const void*) &rh[1], rh->data_len)); | 353 | _("Timeout trying to resolve IP address `%s'.\n"), |
354 | GNUNET_a2s ((const void*) &rh[1], rh->data_len)); | ||
355 | else | ||
356 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | ||
357 | _("Timeout trying to resolve hostname `%s'.\n"), | ||
358 | (const char *) &rh[1]); | ||
354 | if (rh->was_transmitted != GNUNET_SYSERR) | 359 | if (rh->was_transmitted != GNUNET_SYSERR) |
355 | { | 360 | { |
356 | if (NULL != rh->name_callback) | 361 | if (NULL != rh->name_callback) |