diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-08-09 19:23:31 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-08-09 19:23:31 -0400 |
commit | 0186af3d727b1b92e7b63925500a21d5e412d7b4 (patch) | |
tree | 6f836a2c222f87f521569b4110e0422d4291d37a /src/c | |
parent | 3232399b3893f93678a2d1a519bd0d4011275dba (diff) |
'Option' datatype encoding
Diffstat (limited to 'src/c')
-rw-r--r-- | src/c/lacweb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/c/lacweb.c b/src/c/lacweb.c index 12985b4f..9f17103a 100644 --- a/src/c/lacweb.c +++ b/src/c/lacweb.c @@ -471,11 +471,11 @@ lw_Basis_string lw_Basis_unurlifyString(lw_context ctx, char **s) { char *r, *s1, *s2; int len, n; - len = strlen(*s); + len = strlen(new_s); lw_check_heap(ctx, len + 1); r = ctx->heap_front; - ctx->heap_front = lw_unurlifyString_to(ctx, ctx->heap_front, *s); + ctx->heap_front = lw_unurlifyString_to(ctx, ctx->heap_front, new_s); *s = new_s; return r; } |