diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-10-06 21:17:56 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-10-06 21:17:56 +0200 |
commit | 79ddc4888a3003ddbe45f1552dac3fea5e0741d4 (patch) | |
tree | f482ac496d9cf27c5c874bce37207514c4d8079e /src/ats-tool | |
parent | 954500e2e8aab9f87a497fd12bad018bd9703628 (diff) | |
download | gnunet-79ddc4888a3003ddbe45f1552dac3fea5e0741d4.tar.gz gnunet-79ddc4888a3003ddbe45f1552dac3fea5e0741d4.zip |
fix leak
Diffstat (limited to 'src/ats-tool')
-rw-r--r-- | src/ats-tool/gnunet-ats.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ats-tool/gnunet-ats.c b/src/ats-tool/gnunet-ats.c index 5ec7693b1..d88e6d523 100644 --- a/src/ats-tool/gnunet-ats.c +++ b/src/ats-tool/gnunet-ats.c | |||
@@ -872,8 +872,8 @@ run (void *cls, | |||
872 | 872 | ||
873 | for (c = 0; c < strlen (opt_type_str); c++) | 873 | for (c = 0; c < strlen (opt_type_str); c++) |
874 | { | 874 | { |
875 | if (isupper (opt_type_str[c])) | 875 | if (isupper ((unsigned char) opt_type_str[c])) |
876 | opt_type_str[c] = tolower (opt_type_str[c]); | 876 | opt_type_str[c] = tolower ((unsigned char) opt_type_str[c]); |
877 | } | 877 | } |
878 | 878 | ||
879 | if (0 == strcasecmp ("latency", opt_type_str)) | 879 | if (0 == strcasecmp ("latency", opt_type_str)) |
@@ -974,7 +974,7 @@ main (int argc, | |||
974 | gettext_noop ("set preference for the given peer"), | 974 | gettext_noop ("set preference for the given peer"), |
975 | &opt_set_pref), | 975 | &opt_set_pref), |
976 | 976 | ||
977 | GNUNET_GETOPT_option_flag ('q', | 977 | GNUNET_GETOPT_option_flag ('q', |
978 | "quotas", | 978 | "quotas", |
979 | gettext_noop ("print all configured quotas"), | 979 | gettext_noop ("print all configured quotas"), |
980 | &opt_print_quotas), | 980 | &opt_print_quotas), |