aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-02-16 14:41:46 +0100
committerMartin Schanzenbach <schanzen@gnunet.org>2022-02-16 14:41:46 +0100
commit001fd2d790b0b011b24c42b25d30fa4b964bc965 (patch)
tree31a1120d533f7863c380a8c56b90f6eaafd5d1e3 /src/util
parente391a0a83f1336478d2171bbae321689b7fe8d03 (diff)
downloadgnunet-001fd2d790b0b011b24c42b25d30fa4b964bc965.tar.gz
gnunet-001fd2d790b0b011b24c42b25d30fa4b964bc965.zip
-revert old rfc confusion.
Diffstat (limited to 'src/util')
-rw-r--r--src/util/strings.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/util/strings.c b/src/util/strings.c
index 75e45ba6d..a77f09022 100644
--- a/src/util/strings.c
+++ b/src/util/strings.c
@@ -432,12 +432,11 @@ GNUNET_STRINGS_utf8_normalize (const char *input)
432 uint8_t *tmp; 432 uint8_t *tmp;
433 size_t len; 433 size_t len;
434 char *output; 434 char *output;
435 tmp = u8_tolower ((uint8_t *) input, 435 tmp = u8_normalize (UNINORM_NFC,
436 strlen ((char *) input), 436 (uint8_t *) input,
437 NULL, 437 strlen ((char*) input),
438 UNINORM_NFKC, 438 NULL,
439 NULL, 439 &len);
440 &len);
441 if (NULL == tmp) 440 if (NULL == tmp)
442 return NULL; 441 return NULL;
443 output = GNUNET_malloc (len + 1); 442 output = GNUNET_malloc (len + 1);