aboutsummaryrefslogtreecommitdiff
path: root/src/hostlist
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-07-21 20:48:40 +0000
committerChristian Grothoff <christian@grothoff.org>2010-07-21 20:48:40 +0000
commitb05f920bfa907476b618a24bd78487db8873d2a1 (patch)
treefad22297a66787044837faa4c2c3459f48d6bb85 /src/hostlist
parentafec51a8dd5d9f77a00d902acd7b5efc04675298 (diff)
downloadgnunet-b05f920bfa907476b618a24bd78487db8873d2a1.tar.gz
gnunet-b05f920bfa907476b618a24bd78487db8873d2a1.zip
add code to enable checking if transport's idea of our peer identity matches that of core, etc -- might help diagnose certain bugs
Diffstat (limited to 'src/hostlist')
-rw-r--r--src/hostlist/hostlist-client.c2
-rw-r--r--src/hostlist/test_gnunet_daemon_hostlist.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/hostlist/hostlist-client.c b/src/hostlist/hostlist-client.c
index 26b68390c..b4d86e052 100644
--- a/src/hostlist/hostlist-client.c
+++ b/src/hostlist/hostlist-client.c
@@ -1528,7 +1528,7 @@ GNUNET_HOSTLIST_client_start (const struct GNUNET_CONFIGURATION_Handle *c,
1528 GNUNET_break (0); 1528 GNUNET_break (0);
1529 return GNUNET_SYSERR; 1529 return GNUNET_SYSERR;
1530 } 1530 }
1531 transport = GNUNET_TRANSPORT_connect (s, c, NULL, NULL, NULL, NULL); 1531 transport = GNUNET_TRANSPORT_connect (s, c, NULL, NULL, NULL, NULL, NULL);
1532 if (NULL == transport) 1532 if (NULL == transport)
1533 { 1533 {
1534 curl_global_cleanup (); 1534 curl_global_cleanup ();
diff --git a/src/hostlist/test_gnunet_daemon_hostlist.c b/src/hostlist/test_gnunet_daemon_hostlist.c
index 85138ebf1..899a2eb44 100644
--- a/src/hostlist/test_gnunet_daemon_hostlist.c
+++ b/src/hostlist/test_gnunet_daemon_hostlist.c
@@ -143,7 +143,7 @@ setup_peer (struct PeerContext *p, const char *cfgname)
143 "-c", cfgname, NULL); 143 "-c", cfgname, NULL);
144#endif 144#endif
145 GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (p->cfg, cfgname)); 145 GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (p->cfg, cfgname));
146 p->th = GNUNET_TRANSPORT_connect (sched, p->cfg, p, NULL, 146 p->th = GNUNET_TRANSPORT_connect (sched, p->cfg, NULL, p, NULL,
147 &notify_connect, NULL); 147 &notify_connect, NULL);
148 GNUNET_assert (p->th != NULL); 148 GNUNET_assert (p->th != NULL);
149 GNUNET_TRANSPORT_get_hello (p->th, &process_hello, p); 149 GNUNET_TRANSPORT_get_hello (p->th, &process_hello, p);