fix
authorChristian Grothoff <christian@grothoff.org>
Mon, 30 Nov 2009 08:16:44 +0000 (08:16 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 30 Nov 2009 08:16:44 +0000 (08:16 +0000)
src/util/getopt_helpers.c

index d3a5986267f7f0510142ea39d7967b79b0b4768f..9821aca892ac0e79c43918da8a096e890cf6b675 100644 (file)
@@ -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: