aboutsummaryrefslogtreecommitdiff
path: root/src/topology
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-06-05 13:26:22 +0000
committerChristian Grothoff <christian@grothoff.org>2011-06-05 13:26:22 +0000
commitab1bf63f1ed7637297c90b5b284f40a797f44805 (patch)
tree64bedd1cc5620f690d6ad099c2fb4b45a9a41f03 /src/topology
parent446dcf7697ebdd7c78a48573a5c73fbf25448c74 (diff)
downloadgnunet-ab1bf63f1ed7637297c90b5b284f40a797f44805.tar.gz
gnunet-ab1bf63f1ed7637297c90b5b284f40a797f44805.zip
use new transport API, minor core API change
Diffstat (limited to 'src/topology')
-rw-r--r--src/topology/gnunet-daemon-topology.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/topology/gnunet-daemon-topology.c b/src/topology/gnunet-daemon-topology.c
index 2fa336754..03699c174 100644
--- a/src/topology/gnunet-daemon-topology.c
+++ b/src/topology/gnunet-daemon-topology.c
@@ -268,7 +268,7 @@ whitelist_peers ()
268 268
269 269
270/** 270/**
271 * Function called by core when our attempt to connect succeeded. 271 * Function called by core when our request to connect was transmitted.
272 * 272 *
273 * @param cls the 'struct Peer' for which we issued the connect request 273 * @param cls the 'struct Peer' for which we issued the connect request
274 * @param success was the request transmitted 274 * @param success was the request transmitted
@@ -414,7 +414,6 @@ attempt_connect (struct Peer *pos)
414 1, 414 1,
415 GNUNET_NO); 415 GNUNET_NO);
416 pos->connect_req = GNUNET_CORE_peer_request_connect (handle, 416 pos->connect_req = GNUNET_CORE_peer_request_connect (handle,
417 GNUNET_TIME_UNIT_MINUTES,
418 &pos->pid, 417 &pos->pid,
419 &connect_completed_callback, 418 &connect_completed_callback,
420 pos); 419 pos);
@@ -932,7 +931,7 @@ static void
932process_peer (void *cls, 931process_peer (void *cls,
933 const struct GNUNET_PeerIdentity *peer, 932 const struct GNUNET_PeerIdentity *peer,
934 const struct GNUNET_HELLO_Message *hello, 933 const struct GNUNET_HELLO_Message *hello,
935 const char *err_msg) 934 const char *err_msg)
936{ 935{
937 struct Peer *pos; 936 struct Peer *pos;
938 937