aboutsummaryrefslogtreecommitdiff
path: root/src/util/getopt_helpers.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-11-30 08:16:44 +0000
committerChristian Grothoff <christian@grothoff.org>2009-11-30 08:16:44 +0000
commit365372ae37ff830f4456dc3594d0856f7842c25d (patch)
treec4c60575dac7a0f2084ffb4f68ecfd30cec4caf6 /src/util/getopt_helpers.c
parent75744957ece44baaceb0809a0e8e68a04f4759d1 (diff)
fix
Diffstat (limited to 'src/util/getopt_helpers.c')
-rw-r--r--src/util/getopt_helpers.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/util/getopt_helpers.c b/src/util/getopt_helpers.c
index d3a5986267..9821aca892 100644
--- 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: