projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7574495
)
fix
author
Christian Grothoff
<christian@grothoff.org>
Mon, 30 Nov 2009 08:16:44 +0000
(08:16 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Mon, 30 Nov 2009 08:16:44 +0000
(08:16 +0000)
src/util/getopt_helpers.c
patch
|
blob
|
history
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: