diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-03-24 19:13:25 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-03-24 19:13:25 +0000 |
commit | e8a3316b8b361bff25b1fd09509e57abef1ef549 (patch) | |
tree | 0b43aabb5c7575dee538eeb0f34de45c470b2390 /src/fs/fs_tree.c | |
parent | b78e4f20e152830ca627ffc4735621f9b5b6929d (diff) | |
download | gnunet-e8a3316b8b361bff25b1fd09509e57abef1ef549.tar.gz gnunet-e8a3316b8b361bff25b1fd09509e57abef1ef549.zip |
fixing issue with gnunet-publish not closing files early enough when publishing directories with more than FD_MAX files (#2239)
Diffstat (limited to 'src/fs/fs_tree.c')
-rw-r--r-- | src/fs/fs_tree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fs/fs_tree.c b/src/fs/fs_tree.c index 2bdf8a062..30cdded67 100644 --- a/src/fs/fs_tree.c +++ b/src/fs/fs_tree.c | |||
@@ -429,6 +429,7 @@ void | |||
429 | GNUNET_FS_tree_encoder_finish (struct GNUNET_FS_TreeEncoder *te, | 429 | GNUNET_FS_tree_encoder_finish (struct GNUNET_FS_TreeEncoder *te, |
430 | struct GNUNET_FS_Uri **uri, char **emsg) | 430 | struct GNUNET_FS_Uri **uri, char **emsg) |
431 | { | 431 | { |
432 | (void) te->reader (te->cls, UINT64_MAX, 0, 0, NULL); | ||
432 | GNUNET_assert (GNUNET_NO == te->in_next); | 433 | GNUNET_assert (GNUNET_NO == te->in_next); |
433 | if (uri != NULL) | 434 | if (uri != NULL) |
434 | *uri = te->uri; | 435 | *uri = te->uri; |