aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-11 21:14:21 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-11 21:14:21 +0000
commit244d5d97c9745a3b5398485b5666a50ce69ad16f (patch)
tree25622899b7e2c3663e08292abb9d82c7f572cd4b
parent4a0ac2fc2b6d4fceac3e07315226f66abb6ea8dd (diff)
downloadgnunet-gtk-244d5d97c9745a3b5398485b5666a50ce69ad16f.tar.gz
gnunet-gtk-244d5d97c9745a3b5398485b5666a50ce69ad16f.zip
-check NULL
-rw-r--r--src/fs/gnunet-fs-gtk_publish-dialog.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fs/gnunet-fs-gtk_publish-dialog.c b/src/fs/gnunet-fs-gtk_publish-dialog.c
index 56db4492..045ff3b8 100644
--- a/src/fs/gnunet-fs-gtk_publish-dialog.c
+++ b/src/fs/gnunet-fs-gtk_publish-dialog.c
@@ -2209,7 +2209,9 @@ GNUNET_GTK_master_publish_dialog_execute_button_clicked_cb (GtkButton * button,
2209 GNUNET_FS_file_information_inspect (fi, insert_advertisement, ctx); 2209 GNUNET_FS_file_information_inspect (fi, insert_advertisement, ctx);
2210 GNUNET_FS_publish_start (GNUNET_FS_GTK_get_fs_handle (), 2210 GNUNET_FS_publish_start (GNUNET_FS_GTK_get_fs_handle (),
2211 fi, 2211 fi,
2212 GNUNET_IDENTITY_ego_get_private_key (ns), 2212 (NULL == ns)
2213 ? NULL
2214 : GNUNET_IDENTITY_ego_get_private_key (ns),
2213 namespace_id, namespace_uid, 2215 namespace_id, namespace_uid,
2214 GNUNET_FS_PUBLISH_OPTION_NONE); 2216 GNUNET_FS_PUBLISH_OPTION_NONE);
2215 } 2217 }