aboutsummaryrefslogtreecommitdiff
path: root/src/hello
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-03-19 10:48:51 +0000
committerChristian Grothoff <christian@grothoff.org>2012-03-19 10:48:51 +0000
commitb3e1d0806fb274c62a5acf19c56369b71f992312 (patch)
tree657a7cd7a327aad0e7598b3d28cecc0d5cd95cd4 /src/hello
parent0385dc1043912d3ddc5d57f6b7346054a30f64ef (diff)
downloadgnunet-b3e1d0806fb274c62a5acf19c56369b71f992312.tar.gz
gnunet-b3e1d0806fb274c62a5acf19c56369b71f992312.zip
-LRN: calculate file size for single files when needed and use GNUNET_DISK_file_size instead of STAT
Diffstat (limited to 'src/hello')
-rw-r--r--src/hello/gnunet-hello.c2
1 files changed, 1 insertions, 1 deletions
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[])
122 _("Call with name of HELLO file to modify.\n")); 122 _("Call with name of HELLO file to modify.\n"));
123 return 1; 123 return 1;
124 } 124 }
125 if (GNUNET_OK != GNUNET_DISK_file_size (argv[1], &fsize, GNUNET_YES)) 125 if (GNUNET_OK != GNUNET_DISK_file_size (argv[1], &fsize, GNUNET_YES, GNUNET_YES))
126 { 126 {
127 FPRINTF (stderr, 127 FPRINTF (stderr,
128 _("Error accessing file `%s': %s\n"), 128 _("Error accessing file `%s': %s\n"),