aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libidn
diff options
context:
space:
mode:
authorleo <leo@yandex-team.ru>2022-02-10 16:46:40 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:40 +0300
commit980edcd3304699edf9d4e4d6a656e585028e2a72 (patch)
tree139f47f3911484ae9af0eb347b1a88bd6c4bb35f /contrib/libs/libidn
parentb036a557f285146e5e35d4213e29a094ab907bcf (diff)
downloadydb-980edcd3304699edf9d4e4d6a656e585028e2a72.tar.gz
Restoring authorship annotation for <leo@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/libidn')
-rw-r--r--contrib/libs/libidn/nfkc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/libs/libidn/nfkc.c b/contrib/libs/libidn/nfkc.c
index 2bb2e62fbc..16fc7c7ece 100644
--- a/contrib/libs/libidn/nfkc.c
+++ b/contrib/libs/libidn/nfkc.c
@@ -329,12 +329,12 @@ g_unichar_to_utf8 (gunichar c, gchar * outbuf)
* This value must be freed with g_free().
**/
static gunichar *
-g_utf8_to_ucs4_fast (const gchar * str, glong len, size_t * items_written)
+g_utf8_to_ucs4_fast (const gchar * str, glong len, size_t * items_written)
{
gint j, charlen;
gunichar *result;
- gint n_chars, i;
- const gchar *p = str;
+ gint n_chars, i;
+ const gchar *p = str;
g_return_val_if_fail (str != NULL, NULL);
@@ -440,7 +440,7 @@ g_utf8_to_ucs4_fast (const gchar * str, glong len, size_t * items_written)
static gchar *
g_ucs4_to_utf8 (const gunichar * str,
glong len,
- size_t * items_read, size_t * items_written, GError ** error)
+ size_t * items_read, size_t * items_written, GError ** error)
{
gint result_length;
gchar *result = NULL;
@@ -975,7 +975,7 @@ stringprep_unichar_to_utf8 (uint32_t c, char *outbuf)
uint32_t *
stringprep_utf8_to_ucs4 (const char *str, ssize_t len, size_t * items_written)
{
- return g_utf8_to_ucs4_fast (str, (glong) len, items_written);
+ return g_utf8_to_ucs4_fast (str, (glong) len, items_written);
}
/**
@@ -1000,7 +1000,7 @@ char *
stringprep_ucs4_to_utf8 (const uint32_t * str, ssize_t len,
size_t * items_read, size_t * items_written)
{
- return g_ucs4_to_utf8 (str, len, items_read, items_written, NULL);
+ return g_ucs4_to_utf8 (str, len, items_read, items_written, NULL);
}
/**