diff options
Diffstat (limited to 'src/fs/gnunet-helper-fs-publish.c')
-rw-r--r-- | src/fs/gnunet-helper-fs-publish.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/fs/gnunet-helper-fs-publish.c b/src/fs/gnunet-helper-fs-publish.c index e9bcc5f38..94da0ce19 100644 --- a/src/fs/gnunet-helper-fs-publish.c +++ b/src/fs/gnunet-helper-fs-publish.c | |||
@@ -253,10 +253,9 @@ scan_callback (void *cls, | |||
253 | return GNUNET_SYSERR; | 253 | return GNUNET_SYSERR; |
254 | } | 254 | } |
255 | chld->parent = rc->parent; | 255 | chld->parent = rc->parent; |
256 | if (NULL != rc->parent) | 256 | GNUNET_CONTAINER_DLL_insert (rc->parent->children_head, |
257 | GNUNET_CONTAINER_DLL_insert (rc->parent->children_head, | 257 | rc->parent->children_tail, |
258 | rc->parent->children_tail, | 258 | chld); |
259 | chld); | ||
260 | return GNUNET_OK; | 259 | return GNUNET_OK; |
261 | } | 260 | } |
262 | 261 | ||