aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libiconv/aliases.h
diff options
context:
space:
mode:
authordanlark <danlark@yandex-team.ru>2022-02-10 16:46:08 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:08 +0300
commit3426a9bc7f169ae9da54cef557ad2a33f6e8eee0 (patch)
tree26154e1e9990f1bb4525d3e3fb5b6dac2c2c1da2 /contrib/libs/libiconv/aliases.h
parentcb68f224c46a8ee52ac3fdd2a32534b8bb8dc134 (diff)
downloadydb-3426a9bc7f169ae9da54cef557ad2a33f6e8eee0.tar.gz
Restoring authorship annotation for <danlark@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/libiconv/aliases.h')
-rw-r--r--contrib/libs/libiconv/aliases.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/libs/libiconv/aliases.h b/contrib/libs/libiconv/aliases.h
index 44ea9b7296..5b534ecbd6 100644
--- a/contrib/libs/libiconv/aliases.h
+++ b/contrib/libs/libiconv/aliases.h
@@ -65,7 +65,7 @@ aliases_hash (const char *str, unsigned int len)
936, 936, 936, 936, 936, 936, 936, 936, 936, 936,
936, 936, 936, 936, 936, 936, 936, 936
};
- int hval = len;
+ int hval = len;
switch (hval)
{
@@ -1700,14 +1700,14 @@ aliases_lookup (const char *str, unsigned int len)
{
if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
{
- int key = aliases_hash (str, len);
+ int key = aliases_hash (str, len);
if (key <= MAX_HASH_VALUE && key >= 0)
{
- int o = aliases[key].name;
+ int o = aliases[key].name;
if (o >= 0)
{
- const char *s = o + stringpool;
+ const char *s = o + stringpool;
if (*str == *s && !strcmp (str + 1, s + 1))
return &aliases[key];