Commit 243e6909 authored by Federico G. Schwindt's avatar Federico G. Schwindt

Better example

Don't use {} in one-liners
parent 101a5f7e
...@@ -53,7 +53,7 @@ The synthetic keyword is now a function:: ...@@ -53,7 +53,7 @@ The synthetic keyword is now a function::
if (resp.status == 799) { if (resp.status == 799) {
set resp.status = 200; set resp.status = 200;
set resp.http.Content-Type = "text/plain; charset=utf-8"; set resp.http.Content-Type = "text/plain; charset=utf-8";
synthetic({"You are "} + client.ip); synthetic("You are " + client.ip);
return (deliver); return (deliver);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment