diff options
author | ilya-sidorov <ilya-sidorov@yandex-team.ru> | 2022-02-10 16:47:51 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:51 +0300 |
commit | 0bc7899d2acd9afb5c759741ca642a79452ecbd0 (patch) | |
tree | 208506b95fe654cdceba8012695debfab80a310c /contrib/libs | |
parent | 884333bd8b9068bc6b852b948e9d8f23fd393ab7 (diff) | |
download | ydb-0bc7899d2acd9afb5c759741ca642a79452ecbd0.tar.gz |
Restoring authorship annotation for <ilya-sidorov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs')
-rw-r--r-- | contrib/libs/c-ares/ares_create_query.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/libs/c-ares/ares_create_query.c b/contrib/libs/c-ares/ares_create_query.c index 9efce17cfa..ddd4b5c8b3 100644 --- a/contrib/libs/c-ares/ares_create_query.c +++ b/contrib/libs/c-ares/ares_create_query.c @@ -94,10 +94,10 @@ int ares_create_query(const char *name, int dnsclass, int type, size_t buflen; unsigned char *buf; - /* Set our results early, in case we bail out early with an error. */ - *buflenp = 0; - *bufp = NULL; - + /* Set our results early, in case we bail out early with an error. */ + *buflenp = 0; + *bufp = NULL; + /* Per RFC 7686, reject queries for ".onion" domain names with NXDOMAIN. */ if (ares__is_onion_domain(name)) return ARES_ENOTFOUND; |