projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
-fixing #2546
[oweals/gnunet.git]
/
src
/
hello
/
gnunet-hello.c
diff --git
a/src/hello/gnunet-hello.c
b/src/hello/gnunet-hello.c
index d64833b4280d6fe5edd235439226add0f4ed1da6..bc35cdd3214c63ed7417e98138d9c0d5198587f5 100644
(file)
--- 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;
}
_("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"),
{
FPRINTF (stderr,
_("Error accessing file `%s': %s\n"),
@@
-156,7
+156,7
@@
main (int argc, char *argv[])
return 1;
}
{
return 1;
}
{
- char buf[fsize];
+ char buf[fsize]
GNUNET_ALIGN
;
GNUNET_assert (fsize ==
GNUNET_DISK_file_read (fh, buf, fsize));
GNUNET_assert (fsize ==
GNUNET_DISK_file_read (fh, buf, fsize));