[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r29217 - gnunet-gtk/src/fs
From: |
gnunet |
Subject: |
[GNUnet-SVN] r29217 - gnunet-gtk/src/fs |
Date: |
Wed, 11 Sep 2013 23:14:22 +0200 |
Author: grothoff
Date: 2013-09-11 23:14:21 +0200 (Wed, 11 Sep 2013)
New Revision: 29217
Modified:
gnunet-gtk/src/fs/gnunet-fs-gtk_publish-dialog.c
Log:
-check NULL
Modified: gnunet-gtk/src/fs/gnunet-fs-gtk_publish-dialog.c
===================================================================
--- gnunet-gtk/src/fs/gnunet-fs-gtk_publish-dialog.c 2013-09-11 20:06:58 UTC
(rev 29216)
+++ gnunet-gtk/src/fs/gnunet-fs-gtk_publish-dialog.c 2013-09-11 21:14:21 UTC
(rev 29217)
@@ -2209,7 +2209,9 @@
GNUNET_FS_file_information_inspect (fi, insert_advertisement, ctx);
GNUNET_FS_publish_start (GNUNET_FS_GTK_get_fs_handle (),
fi,
- GNUNET_IDENTITY_ego_get_private_key (ns),
+ (NULL == ns)
+ ? NULL
+ : GNUNET_IDENTITY_ego_get_private_key (ns),
namespace_id, namespace_uid,
GNUNET_FS_PUBLISH_OPTION_NONE);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r29217 - gnunet-gtk/src/fs,
gnunet <=