fix resolver api
authorMatthias Wachs <wachs@net.in.tum.de>
Fri, 17 Jun 2011 07:39:11 +0000 (07:39 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Fri, 17 Jun 2011 07:39:11 +0000 (07:39 +0000)
src/arm/test_arm_api.c
src/arm/test_gnunet_service_manager.c

index 3672ca6d198cfcec60b6fe6dbdf76edb68a4804f..cce5867f17962a7786a3bc7123768e04755dc216 100644 (file)
@@ -93,8 +93,7 @@ resolver_notify (void *cls, int success)
 #endif
       return;
     }
-  GNUNET_RESOLVER_ip_get (cfg,
-                          "localhost", AF_INET, TIMEOUT, &dns_notify, NULL);
+  GNUNET_RESOLVER_ip_get ("localhost", AF_INET, TIMEOUT, &dns_notify, NULL);
 }
 
 
index e4aecb8c47674806a108d2c5bab3749c5c5386ce..087e01ccb3d0a19ed9b9219c290f7dc87b8d9023 100644 (file)
@@ -107,7 +107,7 @@ arm_notify (void *cls, int success)
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 
              "Trying to resolve our own hostname!\n");
   /* connect to the resolver service */
-  if (NULL == GNUNET_RESOLVER_hostname_resolve (cfg, AF_UNSPEC,
+  if (NULL == GNUNET_RESOLVER_hostname_resolve (AF_UNSPEC,
                                                TIMEOUT,
                                                &hostNameResolveCB,
                                                NULL))