[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r15679 - gnunet/src/util
From: |
gnunet |
Subject: |
[GNUnet-SVN] r15679 - gnunet/src/util |
Date: |
Fri, 17 Jun 2011 09:27:45 +0200 |
Author: grothoff
Date: 2011-06-17 09:27:45 +0200 (Fri, 17 Jun 2011)
New Revision: 15679
Modified:
gnunet/src/util/test_resolver_api.c
Log:
fix
Modified: gnunet/src/util/test_resolver_api.c
===================================================================
--- gnunet/src/util/test_resolver_api.c 2011-06-17 00:00:24 UTC (rev 15678)
+++ gnunet/src/util/test_resolver_api.c 2011-06-17 07:27:45 UTC (rev 15679)
@@ -233,13 +233,13 @@
sa.sin_len = (u_char) sizeof (sa);
#endif
sa.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
- GNUNET_RESOLVER_ip_get(cfg, "localhost", AF_INET, timeout, &check_127,
+ GNUNET_RESOLVER_ip_get("localhost", AF_INET, timeout, &check_127,
cls);
- GNUNET_RESOLVER_hostname_get(cfg, (const struct sockaddr *) &sa,
+ GNUNET_RESOLVER_hostname_get((const struct sockaddr *) &sa,
sizeof(struct sockaddr), GNUNET_YES, timeout, &check_localhost, cls);
- GNUNET_RESOLVER_hostname_get(cfg, (const struct sockaddr *) &sa,
+ GNUNET_RESOLVER_hostname_get((const struct sockaddr *) &sa,
sizeof(struct sockaddr), GNUNET_NO, timeout, &check_localhost_num, cls);
- GNUNET_RESOLVER_hostname_resolve(cfg, AF_UNSPEC, timeout,
+ GNUNET_RESOLVER_hostname_resolve(AF_UNSPEC, timeout,
&check_hostname, cls);
@@ -298,7 +298,7 @@
#endif
/* Resolve the same using GNUNET */
- GNUNET_RESOLVER_ip_get(cfg, ROOTSERVER_NAME, AF_INET, timeout,
+ GNUNET_RESOLVER_ip_get(ROOTSERVER_NAME, AF_INET, timeout,
&check_rootserver_ip, cls);
/*
@@ -354,7 +354,7 @@
#else
sa.sin_addr.S_un.S_addr = inet_addr(ROOTSERVER_IP);
#endif
- GNUNET_RESOLVER_hostname_get(cfg, (const struct sockaddr *) &sa,
+ GNUNET_RESOLVER_hostname_get((const struct sockaddr *) &sa,
sizeof(struct sockaddr), GNUNET_YES, timeout, &check_rootserver_name,
cls);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r15679 - gnunet/src/util,
gnunet <=