diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-11-23 19:24:55 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-11-23 19:24:55 +0000 |
commit | 2384708d3458928c792f874d9ff06a58b715bf1f (patch) | |
tree | a158085f4310dcba357abe5e8edde983b1c6874b | |
parent | 4da7f8ae611c3f05e2297840cd2e3aacf43f7117 (diff) | |
download | gnunet-gtk-2384708d3458928c792f874d9ff06a58b715bf1f.tar.gz gnunet-gtk-2384708d3458928c792f874d9ff06a58b715bf1f.zip |
-more precise check
-rw-r--r-- | src/peerinfo/gnunet-peerinfo-gtk.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/peerinfo/gnunet-peerinfo-gtk.c b/src/peerinfo/gnunet-peerinfo-gtk.c index 0894d482..68327133 100644 --- a/src/peerinfo/gnunet-peerinfo-gtk.c +++ b/src/peerinfo/gnunet-peerinfo-gtk.c | |||
@@ -335,7 +335,7 @@ static struct GNUNET_TRANSPORT_ValidationMonitoringContext *vmc; | |||
335 | 335 | ||
336 | /** | 336 | /** |
337 | * Monitoring transport plugin sessions. | 337 | * Monitoring transport plugin sessions. |
338 | */ | 338 | */ |
339 | struct GNUNET_TRANSPORT_PluginMonitor *pm; | 339 | struct GNUNET_TRANSPORT_PluginMonitor *pm; |
340 | 340 | ||
341 | /** | 341 | /** |
@@ -1095,7 +1095,8 @@ transport_plugin_cb (void *cls, | |||
1095 | struct PeerAddress *pa; | 1095 | struct PeerAddress *pa; |
1096 | GdkPixbuf *led; | 1096 | GdkPixbuf *led; |
1097 | 1097 | ||
1098 | if (NULL == session) | 1098 | if ( (NULL == session) && |
1099 | (NULL == sinfo) ) | ||
1099 | { | 1100 | { |
1100 | /* initial iteration completed, ignore */ | 1101 | /* initial iteration completed, ignore */ |
1101 | return; | 1102 | return; |