aboutsummaryrefslogtreecommitdiff
path: root/src/util/resolver_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/resolver_api.c')
-rw-r--r--src/util/resolver_api.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/util/resolver_api.c b/src/util/resolver_api.c
index 7acc0f87f..9a2228da0 100644
--- a/src/util/resolver_api.c
+++ b/src/util/resolver_api.c
@@ -1,10 +1,10 @@
1/* 1/*
2 This file is part of GNUnet. 2 This file is part of GNUnet.
3 (C) 2009, 2011 Christian Grothoff (and other contributing authors) 3 (C) 2009-2013 Christian Grothoff (and other contributing authors)
4 4
5 GNUnet is free software; you can redistribute it and/or modify 5 GNUnet is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published 6 it under the terms of the GNU General Public License as published
7 by the Free Software Foundation; either version 2, or (at your 7 by the Free Software Foundation; either version 3, or (at your
8 option) any later version. 8 option) any later version.
9 9
10 GNUnet is distributed in the hope that it will be useful, but 10 GNUnet is distributed in the hope that it will be useful, but
@@ -24,13 +24,9 @@
24 * @author Christian Grothoff 24 * @author Christian Grothoff
25 */ 25 */
26#include "platform.h" 26#include "platform.h"
27#include "gnunet_getopt_lib.h" 27#include "gnunet_util_lib.h"
28#include "gnunet_os_lib.h"
29#include "gnunet_client_lib.h"
30#include "gnunet_container_lib.h"
31#include "gnunet_protocols.h" 28#include "gnunet_protocols.h"
32#include "gnunet_resolver_service.h" 29#include "gnunet_resolver_service.h"
33#include "gnunet_server_lib.h"
34#include "resolver.h" 30#include "resolver.h"
35 31
36#define LOG(kind,...) GNUNET_log_from (kind, "resolver-api", __VA_ARGS__) 32#define LOG(kind,...) GNUNET_log_from (kind, "resolver-api", __VA_ARGS__)
@@ -703,8 +699,8 @@ reconnect ()
703 } 699 }
704 } 700 }
705 LOG (GNUNET_ERROR_TYPE_DEBUG, 701 LOG (GNUNET_ERROR_TYPE_DEBUG,
706 "Will try to connect to DNS service in %llu ms\n", 702 "Will try to connect to DNS service in %s\n",
707 (unsigned long long) backoff.rel_value); 703 GNUNET_STRINGS_relative_time_to_string (backoff, GNUNET_YES));
708 GNUNET_assert (NULL != resolver_cfg); 704 GNUNET_assert (NULL != resolver_cfg);
709 r_task = GNUNET_SCHEDULER_add_delayed (backoff, &reconnect_task, NULL); 705 r_task = GNUNET_SCHEDULER_add_delayed (backoff, &reconnect_task, NULL);
710 backoff = GNUNET_TIME_STD_BACKOFF (backoff); 706 backoff = GNUNET_TIME_STD_BACKOFF (backoff);