aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo/gnunet-peerinfo-gtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/peerinfo/gnunet-peerinfo-gtk.c')
-rw-r--r--src/peerinfo/gnunet-peerinfo-gtk.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/peerinfo/gnunet-peerinfo-gtk.c b/src/peerinfo/gnunet-peerinfo-gtk.c
index 7c59c290..611a5e0a 100644
--- a/src/peerinfo/gnunet-peerinfo-gtk.c
+++ b/src/peerinfo/gnunet-peerinfo-gtk.c
@@ -451,11 +451,17 @@ status_cb (void *cls,
451 GtkTreeIter iter; 451 GtkTreeIter iter;
452 GtkTreePath *path; 452 GtkTreePath *path;
453 453
454 if (GNUNET_YES != address_active) 454 if (0 == address_active)
455 return; 455 return;
456 info = GNUNET_CONTAINER_multipeermap_get (peer2info, &address->peer); 456 info = GNUNET_CONTAINER_multipeermap_get (peer2info, &address->peer);
457 if (NULL == info) 457 if (NULL == info)
458 return; /* should rarely happen... */ 458 {
459 /* should rarely happen... */
460 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
461 "Entry for peer %s not found\n",
462 GNUNET_i2s (&address->peer));
463 return;
464 }
459 path = gtk_tree_row_reference_get_path (info->rr); 465 path = gtk_tree_row_reference_get_path (info->rr);
460 GNUNET_assert (NULL != path); 466 GNUNET_assert (NULL != path);
461 GNUNET_assert (TRUE == gtk_tree_model_get_iter (GTK_TREE_MODEL (ls), &iter, path)); 467 GNUNET_assert (TRUE == gtk_tree_model_get_iter (GTK_TREE_MODEL (ls), &iter, path));