diff options
author | smalov <smalov@yandex-team.ru> | 2022-02-10 16:47:36 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:36 +0300 |
commit | cfadda92ca195da3ad68d721a58872a4f1ced696 (patch) | |
tree | c0748b5dcbade83af788c0abfa89c0383d6b779c /contrib/libs | |
parent | f70d9720e13aef3a935e3f405b0eac554529e76e (diff) | |
download | ydb-cfadda92ca195da3ad68d721a58872a4f1ced696.tar.gz |
Restoring authorship annotation for <smalov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs')
-rw-r--r-- | contrib/libs/libidn/idna.c | 4 |
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; |