diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-02-15 23:36:23 +0100 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-02-15 23:36:23 +0100 |
commit | e391a0a83f1336478d2171bbae321689b7fe8d03 (patch) | |
tree | 55d2f347612f680dd98953fdbad3bbc1f3abc1ea /src/ats | |
parent | 9c0ac480cb4148a0970c915a7d8aadc2ca47874d (diff) | |
download | gnunet-e391a0a83f1336478d2171bbae321689b7fe8d03.tar.gz gnunet-e391a0a83f1336478d2171bbae321689b7fe8d03.zip |
-sanitize utf8 api a bit
Diffstat (limited to 'src/ats')
-rw-r--r-- | src/ats/gnunet-ats-solver-eval.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ats/gnunet-ats-solver-eval.c b/src/ats/gnunet-ats-solver-eval.c index 25b963532..ba7994686 100644 --- a/src/ats/gnunet-ats-solver-eval.c +++ b/src/ats/gnunet-ats-solver-eval.c | |||
@@ -442,7 +442,7 @@ GNUNET_ATS_solver_logging_write_to_disk (struct LoggingHandle *l, int | |||
442 | } | 442 | } |
443 | } | 443 | } |
444 | 444 | ||
445 | cleanup: | 445 | cleanup: |
446 | next = lf_head; | 446 | next = lf_head; |
447 | for (cur = next; NULL != cur; cur = next) | 447 | for (cur = next; NULL != cur; cur = next) |
448 | { | 448 | { |
@@ -1414,7 +1414,8 @@ load_op_add_address (struct GNUNET_ATS_TEST_Operation *o, | |||
1414 | } | 1414 | } |
1415 | else | 1415 | else |
1416 | { | 1416 | { |
1417 | GNUNET_STRINGS_utf8_toupper (op_network, op_network); | 1417 | GNUNET_break (GNUNET_OK == GNUNET_STRINGS_utf8_toupper (op_network, |
1418 | op_network)); | ||
1418 | if (0 == strcmp (op_network, "UNSPECIFIED")) | 1419 | if (0 == strcmp (op_network, "UNSPECIFIED")) |
1419 | { | 1420 | { |
1420 | o->address_network = GNUNET_NT_UNSPECIFIED; | 1421 | o->address_network = GNUNET_NT_UNSPECIFIED; |