aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-06-17 20:16:43 +0000
committerChristian Grothoff <christian@grothoff.org>2014-06-17 20:16:43 +0000
commit2771da91415c4b8110508ce2c0fe6b21eb2c39ae (patch)
tree6c5200c8bd92aea8805bba135aff8cc7e6fe7b1d
parent30a785291c3e81ee0521f87cdc5f3c642e771d5a (diff)
downloadgnunet-gtk-2771da91415c4b8110508ce2c0fe6b21eb2c39ae.tar.gz
gnunet-gtk-2771da91415c4b8110508ce2c0fe6b21eb2c39ae.zip
-check return value
-rw-r--r--src/conversation/gnunet-conversation-gtk_contacts.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/conversation/gnunet-conversation-gtk_contacts.c b/src/conversation/gnunet-conversation-gtk_contacts.c
index ccf06b90..3d30284e 100644
--- a/src/conversation/gnunet-conversation-gtk_contacts.c
+++ b/src/conversation/gnunet-conversation-gtk_contacts.c
@@ -112,9 +112,13 @@ gnunet_conversation_gtk_contact_list_treeview_row_activated_cb (GtkTreeView *tr
112 gchar *name; 112 gchar *name;
113 GtkEntry *address_entry; 113 GtkEntry *address_entry;
114 114
115 gtk_tree_model_get_iter (contacts_treemodel, 115 if (! gtk_tree_model_get_iter (contacts_treemodel,
116 &iter, 116 &iter,
117 path); 117 path))
118 {
119 GNUNET_break (0);
120 return;
121 }
118 gtk_tree_model_get (contacts_treemodel, 122 gtk_tree_model_get (contacts_treemodel,
119 &iter, 123 &iter,
120 CONTACTS_LS_NAME, &name, 124 CONTACTS_LS_NAME, &name,