diff options
author | luckygeck <[email protected]> | 2022-02-10 16:49:18 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:18 +0300 |
commit | 48ea53d4c114c948fa16fee5ec66de2552c93471 (patch) | |
tree | d443cad34860b58886dc7725a27c7fe0c9b5fe13 /library/cpp/http/fetch/httpfsm.rl6 | |
parent | 30f4921b0fa8722e5531e72cb40a93b526f6973a (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/http/fetch/httpfsm.rl6')
-rw-r--r-- | library/cpp/http/fetch/httpfsm.rl6 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/http/fetch/httpfsm.rl6 b/library/cpp/http/fetch/httpfsm.rl6 index eab0328b187..c9f62144619 100644 --- a/library/cpp/http/fetch/httpfsm.rl6 +++ b/library/cpp/http/fetch/httpfsm.rl6 @@ -322,7 +322,7 @@ action set_hreflang { *(hreflangpos++) = ' '; memcpy(hreflangpos, buf, buflen); hreflangpos += buflen; - *(hreflangpos) = 0; + *(hreflangpos) = 0; hreflangspace -= len2; } } @@ -334,9 +334,9 @@ action start_lang { action end_lang { langlen = fpc - langstart; } -hreflang_token = (token_char - ['])+; +hreflang_token = (token_char - ['])+; quote = ['"]?; #" -lang = hreflang_token >start_lang %end_lang; +lang = hreflang_token >start_lang %end_lang; hreflang = "link"i def '<' url '>' lws ";" lws ( ( "rel"i lws '=' lws quote "alternate" quote lws ';' lws "hreflang"i lws '=' lws quote lang quote ) |