projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c987d2
)
fix NPE when importing directory into gnunet-fs-gtk
author
Christian Grothoff
<christian@grothoff.org>
Wed, 21 Aug 2019 08:56:50 +0000
(10:56 +0200)
committer
Christian Grothoff
<christian@grothoff.org>
Wed, 21 Aug 2019 08:56:50 +0000
(10:56 +0200)
src/fs/fs_search.c
patch
|
blob
|
history
diff --git
a/src/fs/fs_search.c
b/src/fs/fs_search.c
index 0571a2b3f3aed706bd71ac902afe5616aecf1351..e1546201335472157aec2940eeb7b1e1535d62e4 100644
(file)
--- 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;
}