diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-07-21 20:48:40 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-07-21 20:48:40 +0000 |
commit | b05f920bfa907476b618a24bd78487db8873d2a1 (patch) | |
tree | fad22297a66787044837faa4c2c3459f48d6bb85 /src/hostlist/test_gnunet_daemon_hostlist.c | |
parent | afec51a8dd5d9f77a00d902acd7b5efc04675298 (diff) | |
download | gnunet-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/test_gnunet_daemon_hostlist.c')
-rw-r--r-- | src/hostlist/test_gnunet_daemon_hostlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 | ¬ify_connect, NULL); | 147 | ¬ify_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); |