summaryrefslogtreecommitdiff
path: root/lib/http
diff options
context:
space:
mode:
authorOri Bernstein <ori@markovcorp.com>2017-11-14 13:51:26 -0800
committerOri Bernstein <ori@markovcorp.com>2017-11-14 13:52:00 -0800
commitf196ea0ea5f82cb63e4bb66f2009d8115de386a9 (patch)
treeb00e75f4dcfbcdf0b332547159df9c1c2b690379 /lib/http
parent2d00e8f657965583e906327bd4c0eff6953a71cd (diff)
downloadmc-f196ea0ea5f82cb63e4bb66f2009d8115de386a9.tar.gz
Fix build to deal with removal of streq function.
Diffstat (limited to 'lib/http')
-rw-r--r--lib/http/parse.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/http/parse.myr b/lib/http/parse.myr
index 180b581..8b14af6 100644
--- a/lib/http/parse.myr
+++ b/lib/http/parse.myr
@@ -14,8 +14,8 @@ const strcaseeq = {a : byte[:], b : byte[:] -> bool
var ca, cb
while a.len == 0 || b.len == 0
- (ca, a) = std.strstep(a)
- (cb, b) = std.strstep(b)
+ (ca, a) = std.charstep(a)
+ (cb, b) = std.charstep(b)
if std.tolower(ca) != std.tolower(cb)
-> false
;;