summaryrefslogtreecommitdiff
path: root/lib/http/server.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-08-02 13:20:59 -0700
committerOri Bernstein <ori@markovcorp.com>2017-08-02 13:21:30 -0700
commita77a83ee673ab4bef38e336345f3196c814bdcf7 (patch)
tree2a324174c9e99f6a80f9dc8323e7627ee317131f /lib/http/server.myr
parentb585eb744cebded7abbf014c3430f05b64122371 (diff)
downloadmc-a77a83ee673ab4bef38e336345f3196c814bdcf7.tar.gz
Switch to use ':' for loops.
Diffstat (limited to 'lib/http/server.myr')
-rw-r--r--lib/http/server.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http/server.myr b/lib/http/server.myr
index a892b1c..e6c1923 100644
--- a/lib/http/server.myr
+++ b/lib/http/server.myr
@@ -59,7 +59,7 @@ const respond = {srv, s, resp
bio.put(s.f, "HTTP/1.1 {} {}\r\n", resp.status, statusstr(resp.status))
bio.put(s.f, "Content-Length: {}\r\n", resp.body.len)
bio.put(s.f, "Encoding: {}\r\n", resp.enc)
- for (k, v) in resp.hdrs
+ for (k, v) : resp.hdrs
bio.put(s.f, "{}: {}\r\n", k, v)
;;
bio.put(s.f, "\r\n")