From b3e1d0806fb274c62a5acf19c56369b71f992312 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 19 Mar 2012 10:48:51 +0000 Subject: -LRN: calculate file size for single files when needed and use GNUNET_DISK_file_size instead of STAT --- src/hello/gnunet-hello.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hello/gnunet-hello.c') diff --git a/src/hello/gnunet-hello.c b/src/hello/gnunet-hello.c index d64833b42..cbbdce3da 100644 --- a/src/hello/gnunet-hello.c +++ b/src/hello/gnunet-hello.c @@ -122,7 +122,7 @@ main (int argc, char *argv[]) _("Call with name of HELLO file to modify.\n")); return 1; } - if (GNUNET_OK != GNUNET_DISK_file_size (argv[1], &fsize, GNUNET_YES)) + if (GNUNET_OK != GNUNET_DISK_file_size (argv[1], &fsize, GNUNET_YES, GNUNET_YES)) { FPRINTF (stderr, _("Error accessing file `%s': %s\n"), -- cgit v1.2.3