aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libidn
diff options
context:
space:
mode:
authorsmalov <smalov@yandex-team.ru>2022-02-10 16:47:36 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:36 +0300
commitcfadda92ca195da3ad68d721a58872a4f1ced696 (patch)
treec0748b5dcbade83af788c0abfa89c0383d6b779c /contrib/libs/libidn
parentf70d9720e13aef3a935e3f405b0eac554529e76e (diff)
downloadydb-cfadda92ca195da3ad68d721a58872a4f1ced696.tar.gz
Restoring authorship annotation for <smalov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/libidn')
-rw-r--r--contrib/libs/libidn/idna.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/libs/libidn/idna.c b/contrib/libs/libidn/idna.c
index ea1e39eb00..af3f24d58e 100644
--- a/contrib/libs/libidn/idna.c
+++ b/contrib/libs/libidn/idna.c
@@ -234,8 +234,8 @@ step3:
out[i] = src[i];
}
if (i < IDNA_LABEL_MAX_LENGTH + 1)
- out[i] = '\0';
- else
+ out[i] = '\0';
+ else
out[IDNA_LABEL_MAX_LENGTH] = 0;
if (inasciirange)
goto step8;