diff options
Diffstat (limited to 'src/fs/fs_publish.c')
-rw-r--r-- | src/fs/fs_publish.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fs/fs_publish.c b/src/fs/fs_publish.c index a19538345..277a783c5 100644 --- a/src/fs/fs_publish.c +++ b/src/fs/fs_publish.c | |||
@@ -169,7 +169,7 @@ ds_put_cont (void *cls, | |||
169 | pcc->p->client_info = GNUNET_FS_publish_make_status_ (&pi, pcc->sc, pcc->p, 0); | 169 | pcc->p->client_info = GNUNET_FS_publish_make_status_ (&pi, pcc->sc, pcc->p, 0); |
170 | if ( (pcc->p->is_directory == GNUNET_NO) && | 170 | if ( (pcc->p->is_directory == GNUNET_NO) && |
171 | (pcc->p->filename != NULL) && | 171 | (pcc->p->filename != NULL) && |
172 | (pcc->p->data.do_index == GNUNET_YES) ) | 172 | (pcc->p->data.file.do_index == GNUNET_YES) ) |
173 | { | 173 | { |
174 | /* run unindex to clean up */ | 174 | /* run unindex to clean up */ |
175 | GNUNET_FS_unindex_start (pcc->sc->h, | 175 | GNUNET_FS_unindex_start (pcc->sc->h, |
@@ -232,10 +232,10 @@ signal_publish_error (struct GNUNET_FS_FileInformation *p, | |||
232 | p->client_info = GNUNET_FS_publish_make_status_ (&pi, sc, p, 0); | 232 | p->client_info = GNUNET_FS_publish_make_status_ (&pi, sc, p, 0); |
233 | if ( (p->is_directory == GNUNET_NO) && | 233 | if ( (p->is_directory == GNUNET_NO) && |
234 | (p->filename != NULL) && | 234 | (p->filename != NULL) && |
235 | (p->data.do_index == GNUNET_YES) ) | 235 | (p->data.file.do_index == GNUNET_YES) ) |
236 | { | 236 | { |
237 | /* run unindex to clean up */ | 237 | /* run unindex to clean up */ |
238 | GNUNET_FS_unindex_start (pc->h, | 238 | GNUNET_FS_unindex_start (sc->h, |
239 | p->filename, | 239 | p->filename, |
240 | NULL); | 240 | NULL); |
241 | } | 241 | } |