aboutsummaryrefslogtreecommitdiff
path: root/src/util/getopt_helpers.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-09-07 11:58:04 +0000
committerChristian Grothoff <christian@grothoff.org>2009-09-07 11:58:04 +0000
commit9dac7b6b7b035d55bdb9731795712ead92e11f76 (patch)
tree8bed4ad4617f95bcdaac75dc43c2b2dd461b3e76 /src/util/getopt_helpers.c
parent2a534fc5efadca1b65648efb903c3b4c17ac33ad (diff)
downloadgnunet-9dac7b6b7b035d55bdb9731795712ead92e11f76.tar.gz
gnunet-9dac7b6b7b035d55bdb9731795712ead92e11f76.zip
fixes
Diffstat (limited to 'src/util/getopt_helpers.c')
-rw-r--r--src/util/getopt_helpers.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/util/getopt_helpers.c b/src/util/getopt_helpers.c
index 3aea5d102..a8a800a00 100644
--- a/src/util/getopt_helpers.c
+++ b/src/util/getopt_helpers.c
@@ -50,11 +50,11 @@ GNUNET_GETOPT_format_help_ (struct GNUNET_GETOPT_CommandLineProcessorContext
50 const char *value) 50 const char *value)
51{ 51{
52 const char *about = scls; 52 const char *about = scls;
53 int slen; 53 size_t slen;
54 int i; 54 unsigned int i;
55 int j; 55 int j;
56 int ml; 56 size_t ml;
57 int p; 57 size_t p;
58 char *scp; 58 char *scp;
59 const char *trans; 59 const char *trans;
60 const struct GNUNET_GETOPT_CommandLineOption *opt; 60 const struct GNUNET_GETOPT_CommandLineOption *opt;
@@ -62,7 +62,6 @@ GNUNET_GETOPT_format_help_ (struct GNUNET_GETOPT_CommandLineProcessorContext
62 printf ("%s\n%s\n", ctx->binaryOptions, gettext (about)); 62 printf ("%s\n%s\n", ctx->binaryOptions, gettext (about));
63 printf (_ 63 printf (_
64 ("Arguments mandatory for long options are also mandatory for short options.\n")); 64 ("Arguments mandatory for long options are also mandatory for short options.\n"));
65 slen = 0;
66 i = 0; 65 i = 0;
67 opt = ctx->allOptions; 66 opt = ctx->allOptions;
68 while (opt[i].description != NULL) 67 while (opt[i].description != NULL)