gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: fix NPE when importing dire


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: fix NPE when importing directory into gnunet-fs-gtk
Date: Wed, 21 Aug 2019 10:58:31 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 055557c76 fix NPE when importing directory into gnunet-fs-gtk
055557c76 is described below

commit 055557c76220a94f46975565caaf99ba41c0f67a
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed Aug 21 10:56:50 2019 +0200

    fix NPE when importing directory into gnunet-fs-gtk
---
 src/fs/fs_search.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/fs/fs_search.c b/src/fs/fs_search.c
index 0571a2b3f..e15462013 100644
--- a/src/fs/fs_search.c
+++ b/src/fs/fs_search.c
@@ -495,7 +495,8 @@ GNUNET_FS_probe (struct GNUNET_FS_Handle *h,
   sr->meta = GNUNET_CONTAINER_meta_data_duplicate (meta);
   sr->client_info = client_info;
   sr->anonymity = anonymity;
-  GNUNET_FS_search_start_probe_ (sr);
+  if (NULL != uri)
+    GNUNET_FS_search_start_probe_ (sr);
   return sr;
 }
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]