diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-12-05 21:59:23 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-12-05 21:59:23 +0000 |
commit | e627a80198d684d9d8bd0eb6400f3d0ab0ecb252 (patch) | |
tree | 1f9f25582a7f461d81257f75bc422f9463e997c5 | |
parent | 31b3a5e1a0e06eb0d1ecc1fc74864250d4f8ca66 (diff) | |
download | gnunet-gtk-e627a80198d684d9d8bd0eb6400f3d0ab0ecb252.tar.gz gnunet-gtk-e627a80198d684d9d8bd0eb6400f3d0ab0ecb252.zip |
-add assertion to elaborate API logic better
-rw-r--r-- | src/namestore/gnunet-namestore-gtk.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/namestore/gnunet-namestore-gtk.c b/src/namestore/gnunet-namestore-gtk.c index b71a4158..bf2168ed 100644 --- a/src/namestore/gnunet-namestore-gtk.c +++ b/src/namestore/gnunet-namestore-gtk.c | |||
@@ -2682,6 +2682,7 @@ identity_cb (void *cls, | |||
2682 | if (NULL == rr) | 2682 | if (NULL == rr) |
2683 | { | 2683 | { |
2684 | /* new zone, add to list */ | 2684 | /* new zone, add to list */ |
2685 | GNUNET_assert (NULL != name); | ||
2685 | gtk_list_store_insert_with_values (zone_liststore, | 2686 | gtk_list_store_insert_with_values (zone_liststore, |
2686 | &iter, -1, | 2687 | &iter, -1, |
2687 | ZONE_LS_NAME, name, | 2688 | ZONE_LS_NAME, name, |