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)
downloadgnunet-365372ae37ff830f4456dc3594d0856f7842c25d.tar.gz
gnunet-365372ae37ff830f4456dc3594d0856f7842c25d.zip
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 d3a598626..9821aca89 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
87 printf ("%*s", (int) (BORDER - slen), ""); 87 printf ("%*s", (int) (BORDER - slen), "");
88 slen = BORDER; 88 slen = BORDER;
89 } 89 }
90 trans = gettext (opt[i].description); 90 if (0 < strlen (opt[i].description))
91 trans = gettext (opt[i].description);
92 else
93 trans = "";
91 ml = strlen (trans); 94 ml = strlen (trans);
92 p = 0; 95 p = 0;
93 OUTER: 96 OUTER: