1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

net: fix chunked check, remove length workaround (#10472)

This commit is contained in:
JalonSolov
2021-06-15 12:28:54 -04:00
committed by GitHub
parent b0caadae31
commit aaa59ac770
2 changed files with 2 additions and 8 deletions

View File

@ -68,9 +68,5 @@ pub fn decode(text string) string {
cscanner.skip_crlf()
}
cscanner.skip_crlf()
if sb.len > 0 {
return sb.str()
} else {
return text
}
return sb.str()
}