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:
76c2618
)
-LRN: fix fip_signal_start recursion
author
Christian Grothoff
<christian@grothoff.org>
Thu, 12 Jan 2012 13:39:59 +0000
(13:39 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Thu, 12 Jan 2012 13:39:59 +0000
(13:39 +0000)
src/fs/fs_publish.c
patch
|
blob
|
history
diff --git
a/src/fs/fs_publish.c
b/src/fs/fs_publish.c
index 4ae3264a21bd38f5aa93b83189a28f1a10207ba7..f25987723e77dfbc423b36aa749c9aaa98a00414 100644
(file)
--- a/
src/fs/fs_publish.c
+++ b/
src/fs/fs_publish.c
@@
-996,7
+996,8
@@
fip_signal_start (void *cls, struct GNUNET_FS_FileInformation *fi,
pi.status = GNUNET_FS_STATUS_PUBLISH_START;
*client_info = GNUNET_FS_publish_make_status_ (&pi, pc, fi, 0);
GNUNET_FS_file_information_sync_ (fi);
- if (GNUNET_YES == GNUNET_FS_meta_data_test_for_directory (meta))
+ if (GNUNET_YES == GNUNET_FS_meta_data_test_for_directory (meta)
+ && (fi->dir != NULL))
{
/* process entries in directory */
pc->skip_next_fi_callback = GNUNET_YES;