diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-03-19 10:52:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-03-19 10:52:28 +0000 |
commit | cc606d031944fcdd6459e127905c6a83917d45d4 (patch) | |
tree | 46b14359f71eeab14e94cc5554a0c354e2392344 | |
parent | 3d3a07ccc3278a88db0932a702d29e05a5514ed9 (diff) | |
download | gnunet-gtk-cc606d031944fcdd6459e127905c6a83917d45d4.tar.gz gnunet-gtk-cc606d031944fcdd6459e127905c6a83917d45d4.zip |
-updating to match new GNUNET_DISK_file_size API
-rw-r--r-- | src/fs/gnunet-fs-gtk_common.c | 2 | ||||
-rw-r--r-- | src/fs/gnunet-fs-gtk_unindex.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/gnunet-fs-gtk_common.c b/src/fs/gnunet-fs-gtk_common.c index 27905f25..d671a40d 100644 --- a/src/fs/gnunet-fs-gtk_common.c +++ b/src/fs/gnunet-fs-gtk_common.c | |||
@@ -208,7 +208,7 @@ GNUNET_FS_GTK_mmap_and_scan (const char *filename, | |||
208 | void *ddata; | 208 | void *ddata; |
209 | int ret; | 209 | int ret; |
210 | 210 | ||
211 | if (GNUNET_OK != GNUNET_DISK_file_size (filename, &fsize, GNUNET_YES)) | 211 | if (GNUNET_OK != GNUNET_DISK_file_size (filename, &fsize, GNUNET_YES, GNUNET_YES)) |
212 | { | 212 | { |
213 | GNUNET_break (0); | 213 | GNUNET_break (0); |
214 | return GNUNET_SYSERR; | 214 | return GNUNET_SYSERR; |
diff --git a/src/fs/gnunet-fs-gtk_unindex.c b/src/fs/gnunet-fs-gtk_unindex.c index 1c49747a..7c056060 100644 --- a/src/fs/gnunet-fs-gtk_unindex.c +++ b/src/fs/gnunet-fs-gtk_unindex.c | |||
@@ -326,7 +326,7 @@ add_indexed_file (void *cls, const char *filename, | |||
326 | if (GNUNET_OK != | 326 | if (GNUNET_OK != |
327 | GNUNET_DISK_file_size (filename, | 327 | GNUNET_DISK_file_size (filename, |
328 | &filesize, | 328 | &filesize, |
329 | GNUNET_YES)) | 329 | GNUNET_YES, GNUNET_YES)) |
330 | { | 330 | { |
331 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 331 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
332 | _("Could not access indexed file `%s'\n"), | 332 | _("Could not access indexed file `%s'\n"), |