aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-transport.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-11-23 20:12:32 +0000
committerChristian Grothoff <christian@grothoff.org>2014-11-23 20:12:32 +0000
commitd60c79921cb80f2173d800785ec5d39f6cdbca8c (patch)
tree0aec29c3348c2daf8babd979963b1212e6fabcfb /src/transport/gnunet-transport.c
parente5d9d0d24bc32dcebcd5d2f86ca5cca579bc5dbb (diff)
downloadgnunet-d60c79921cb80f2173d800785ec5d39f6cdbca8c.tar.gz
gnunet-d60c79921cb80f2173d800785ec5d39f6cdbca8c.zip
-fix misc monitoring issues
Diffstat (limited to 'src/transport/gnunet-transport.c')
-rw-r--r--src/transport/gnunet-transport.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/transport/gnunet-transport.c b/src/transport/gnunet-transport.c
index 24be066bc..4b1e683f6 100644
--- a/src/transport/gnunet-transport.c
+++ b/src/transport/gnunet-transport.c
@@ -1599,9 +1599,12 @@ plugin_monitoring_cb (void *cls,
1599 const char *state; 1599 const char *state;
1600 struct PluginMonitorAddress *addr; 1600 struct PluginMonitorAddress *addr;
1601 1601
1602 fprintf (stderr, "E!\n");
1602 if ( (NULL == info) && 1603 if ( (NULL == info) &&
1603 (NULL == session) ) 1604 (NULL == session) )
1604 return; /* in sync with transport service */ 1605 return; /* in sync with transport service */
1606 if (NULL == info)
1607 return; /* shutdown */
1605 if ( (NULL != cpid) && 1608 if ( (NULL != cpid) &&
1606 (0 != memcmp (&info->address->peer, 1609 (0 != memcmp (&info->address->peer,
1607 cpid, 1610 cpid,