summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2011-08-21 13:41:57 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2011-08-21 13:41:57 -0400
commit9239ce8a90f9c983881216cfece4161a831216d4 (patch)
tree048f39efd512e604237cc836a8b2ee536ac75c57 /src
parent1e022eb78e7ca3fd15634e3845756b9c14209cf3 (diff)
Fix another list unurlification segfault bug; List.foldlMi
Diffstat (limited to 'src')
-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 0b900218..4e3e1570 100644
--- a/src/cjr_print.sml
+++ b/src/cjr_print.sml
@@ -861,7 +861,7 @@ fun unurlify fromClient env (t, loc) =
space,
string "+=",
space,
- string "3, ((*request)[0] == '/' ? ((*request)[0] = 0, (*request)++) : NULL)) : ((!strncmp(*request, \"Cons\", 4) && ((*request)[4] == 0 ",
+ string "3, ((*request)[0] == '/' ? ((*request)[0] = 0, ++*request) : NULL), NULL) : ((!strncmp(*request, \"Cons\", 4) && ((*request)[4] == 0 ",
string "|| (*request)[4] == '/')) ? (*request",
space,
string "+=",