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 (cleaner fix)
Date: Wed, 21 Aug 2019 11:00:35 +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 21796ec12 fix NPE when importing directory into gnunet-fs-gtk (cleaner 
fix)
21796ec12 is described below

commit 21796ec12ca82821c545143eb4722a72942b6df1
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed Aug 21 10:58:57 2019 +0200

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

diff --git a/src/fs/fs_search.c b/src/fs/fs_search.c
index e15462013..e808d3eaa 100644
--- a/src/fs/fs_search.c
+++ b/src/fs/fs_search.c
@@ -489,14 +489,14 @@ GNUNET_FS_probe (struct GNUNET_FS_Handle *h,
   struct GNUNET_FS_SearchResult *sr;
 
   GNUNET_assert (NULL != h);
+  GNUNET_assert (NULL != uri);
   sr = GNUNET_new (struct GNUNET_FS_SearchResult);
   sr->h = h;
   sr->uri = GNUNET_FS_uri_dup (uri);
   sr->meta = GNUNET_CONTAINER_meta_data_duplicate (meta);
   sr->client_info = client_info;
   sr->anonymity = anonymity;
-  if (NULL != uri)
-    GNUNET_FS_search_start_probe_ (sr);
+  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]