diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-04-30 08:57:16 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-04-30 08:57:16 +0000 |
commit | 8080b1223983045fc3374e67fc01be643a84a09f (patch) | |
tree | 0b1f889880863766c5cbcd9db6646cdfd01a728d /src/fs/gnunet-publish.c | |
parent | 377c3e56c2b903b6cf57b687f20b2379299c5c89 (diff) | |
download | gnunet-8080b1223983045fc3374e67fc01be643a84a09f.tar.gz gnunet-8080b1223983045fc3374e67fc01be643a84a09f.zip |
towards fi synchronization
Diffstat (limited to 'src/fs/gnunet-publish.c')
-rw-r--r-- | src/fs/gnunet-publish.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fs/gnunet-publish.c b/src/fs/gnunet-publish.c index 279eedcce..5869fcff5 100644 --- a/src/fs/gnunet-publish.c +++ b/src/fs/gnunet-publish.c | |||
@@ -532,7 +532,8 @@ run (void *cls, | |||
532 | } | 532 | } |
533 | else if (S_ISDIR (sbuf.st_mode)) | 533 | else if (S_ISDIR (sbuf.st_mode)) |
534 | { | 534 | { |
535 | fi = GNUNET_FS_file_information_create_from_directory (NULL, | 535 | fi = GNUNET_FS_file_information_create_from_directory (ctx, |
536 | NULL, | ||
536 | args[0], | 537 | args[0], |
537 | &GNUNET_FS_directory_scanner_default, | 538 | &GNUNET_FS_directory_scanner_default, |
538 | l, | 539 | l, |
@@ -544,7 +545,8 @@ run (void *cls, | |||
544 | } | 545 | } |
545 | else | 546 | else |
546 | { | 547 | { |
547 | fi = GNUNET_FS_file_information_create_from_file (NULL, | 548 | fi = GNUNET_FS_file_information_create_from_file (ctx, |
549 | NULL, | ||
548 | args[0], | 550 | args[0], |
549 | NULL, | 551 | NULL, |
550 | NULL, | 552 | NULL, |