aboutsummaryrefslogtreecommitdiff
path: root/src/fs
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
parent29420025183ad85f50b82b0da5ba108df12644d7 (diff)
downloadgnunet-099105f159a2030d4f10b7d01525a84bb29afd3a.tar.gz
gnunet-099105f159a2030d4f10b7d01525a84bb29afd3a.zip
fix
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/fs_publish.c6
-rw-r--r--src/fs/fs_uri.c2
2 files changed, 4 insertions, 4 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 }
diff --git a/src/fs/fs_uri.c b/src/fs/fs_uri.c
index bd290437f..c844bdd31 100644
--- a/src/fs/fs_uri.c
+++ b/src/fs/fs_uri.c
@@ -830,7 +830,7 @@ GNUNET_FS_uri_loc_get_uri (const struct GNUNET_FS_Uri *uri)
830 */ 830 */
831struct GNUNET_FS_Uri * 831struct GNUNET_FS_Uri *
832GNUNET_FS_uri_loc_create (const struct GNUNET_FS_Uri *baseUri, 832GNUNET_FS_uri_loc_create (const struct GNUNET_FS_Uri *baseUri,
833 struct GNUNET_CONFIGURATION_Handle *cfg, 833 const struct GNUNET_CONFIGURATION_Handle *cfg,
834 struct GNUNET_TIME_Absolute expiration_time) 834 struct GNUNET_TIME_Absolute expiration_time)
835{ 835{
836 struct GNUNET_FS_Uri *uri; 836 struct GNUNET_FS_Uri *uri;