summaryrefslogtreecommitdiff
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)
-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,
const char *state;
struct PluginMonitorAddress *addr;
+ fprintf (stderr, "E!\n");
if ( (NULL == info) &&
(NULL == session) )
return; /* in sync with transport service */
+ if (NULL == info)
+ return; /* shutdown */
if ( (NULL != cpid) &&
(0 != memcmp (&info->address->peer,
cpid,