projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
asserts
[oweals/gnunet.git]
/
src
/
util
/
getopt_helpers.c
diff --git
a/src/util/getopt_helpers.c
b/src/util/getopt_helpers.c
index d3a5986267f7f0510142ea39d7967b79b0b4768f..9821aca892ac0e79c43918da8a096e890cf6b675 100644
(file)
--- a/
src/util/getopt_helpers.c
+++ b/
src/util/getopt_helpers.c
@@
-87,7
+87,10
@@
GNUNET_GETOPT_format_help_ (struct GNUNET_GETOPT_CommandLineProcessorContext
printf ("%*s", (int) (BORDER - slen), "");
slen = BORDER;
}
- trans = gettext (opt[i].description);
+ if (0 < strlen (opt[i].description))
+ trans = gettext (opt[i].description);
+ else
+ trans = "";
ml = strlen (trans);
p = 0;
OUTER: