summaryrefslogtreecommitdiff
path: root/src/cjr_print.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2011-08-14 16:46:36 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2011-08-14 16:46:36 -0400
commit882b016302da2645ff07ccaf9c78eaa60f736461 (patch)
tree4932aa34e9fdce83796ebd188f991d870385bb91 /src/cjr_print.sml
parent32a540e56909917ab5519c0a91d26b7c2b740e10 (diff)
Fix list urlification
Diffstat (limited to 'src/cjr_print.sml')
-rw-r--r--src/cjr_print.sml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cjr_print.sml b/src/cjr_print.sml
index 9e653510..cfe8ee13 100644
--- a/src/cjr_print.sml
+++ b/src/cjr_print.sml
@@ -832,7 +832,7 @@ fun unurlify fromClient env (t, loc) =
space,
string "+=",
space,
- string "3, (*request == '/' ? *request++ = 0 : 0), NULL) : ((!strncmp(*request, \"Cons\", 4) && ((*request)[4] == 0 ",
+ string "3, ((*request)[0] == '/' ? *request++ = 0 : 0), NULL) : ((!strncmp(*request, \"Cons\", 4) && ((*request)[4] == 0 ",
string "|| (*request)[4] == '/')) ? (*request",
space,
string "+=",