aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_publish.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-07-10 14:32:42 +0000
committerChristian Grothoff <christian@grothoff.org>2010-07-10 14:32:42 +0000
commit099105f159a2030d4f10b7d01525a84bb29afd3a (patch)
tree67c0f14c3aa4a507ac89f0442b8f7a7add687ab4 /src/fs/fs_publish.c
parent29420025183ad85f50b82b0da5ba108df12644d7 (diff)
downloadgnunet-099105f159a2030d4f10b7d01525a84bb29afd3a.tar.gz
gnunet-099105f159a2030d4f10b7d01525a84bb29afd3a.zip
fix
Diffstat (limited to 'src/fs/fs_publish.c')
-rw-r--r--src/fs/fs_publish.c6
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 }