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 | cb691264f012c552bac85a9fe352baa062cd81dd (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/http/fetch/httpfsm.rl6 | |
parent | 48ea53d4c114c948fa16fee5ec66de2552c93471 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 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 c9f62144619..eab0328b187 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 ) |