aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport_api_monitor_peers.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-11-07 16:33:42 +0000
committerChristian Grothoff <christian@grothoff.org>2014-11-07 16:33:42 +0000
commit0c89b2a16eae49cb23635f6d6c0f13da070c5c66 (patch)
tree559186ca56ac1279a611d31f3bf3816bc971431c /src/transport/transport_api_monitor_peers.c
parent2e33b6fcbad3c1b8ebf7176c39a201c39b23c2b2 (diff)
downloadgnunet-0c89b2a16eae49cb23635f6d6c0f13da070c5c66.tar.gz
gnunet-0c89b2a16eae49cb23635f6d6c0f13da070c5c66.zip
implementing plugin session monitoring API (#3452)
Diffstat (limited to 'src/transport/transport_api_monitor_peers.c')
-rw-r--r--src/transport/transport_api_monitor_peers.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/transport_api_monitor_peers.c b/src/transport/transport_api_monitor_peers.c
index f7b50d6d4..f1dab26e2 100644
--- a/src/transport/transport_api_monitor_peers.c
+++ b/src/transport/transport_api_monitor_peers.c
@@ -167,7 +167,7 @@ GNUNET_TRANSPORT_ps2s (enum GNUNET_TRANSPORT_PeerState state)
167/** 167/**
168 * Function called with responses from the service. 168 * Function called with responses from the service.
169 * 169 *
170 * @param cls our `struct GNUNET_TRANSPORT_PeerAddressLookupContext *` 170 * @param cls our `struct GNUNET_TRANSPORT_PeerMonitoringContext *`
171 * @param msg NULL on timeout or error, otherwise presumably a 171 * @param msg NULL on timeout or error, otherwise presumably a
172 * message with the human-readable address 172 * message with the human-readable address
173 */ 173 */
@@ -203,7 +203,7 @@ send_peer_mon_request (struct GNUNET_TRANSPORT_PeerMonitoringContext *pal_ctx)
203/** 203/**
204 * Task run to re-establish the connection. 204 * Task run to re-establish the connection.
205 * 205 *
206 * @param cls our `struct GNUNET_TRANSPORT_PeerAddressLookupContext *` 206 * @param cls our `struct GNUNET_TRANSPORT_PeerMonitoringContext *`
207 * @param tc scheduler context, unused 207 * @param tc scheduler context, unused
208 */ 208 */
209static void 209static void
@@ -423,7 +423,7 @@ GNUNET_TRANSPORT_monitor_peers (const struct GNUNET_CONFIGURATION_Handle *cfg,
423 struct GNUNET_CLIENT_Connection *client; 423 struct GNUNET_CLIENT_Connection *client;
424 424
425 client = GNUNET_CLIENT_connect ("transport", cfg); 425 client = GNUNET_CLIENT_connect ("transport", cfg);
426 if (client == NULL) 426 if (NULL == client)
427 return NULL; 427 return NULL;
428 if (GNUNET_YES != one_shot) 428 if (GNUNET_YES != one_shot)
429 timeout = GNUNET_TIME_UNIT_FOREVER_REL; 429 timeout = GNUNET_TIME_UNIT_FOREVER_REL;