diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-08-09 20:08:29 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-08-09 20:08:29 -0400 |
commit | bb9795918d2f0a1d9141dd86c4884fa9446cb2a9 (patch) | |
tree | 538d4d4a08d80201fda8187ec281b39a43669f75 /src/c | |
parent | 65edfa17d6df526c57fdb08bf033671c7c6756f6 (diff) |
Urlifying records
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 e7cb381a..3d79e1a3 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(new_s); + len = strlen(*s); lw_check_heap(ctx, len + 1); r = ctx->heap_front; - ctx->heap_front = lw_unurlifyString_to(ctx, ctx->heap_front, new_s); + ctx->heap_front = lw_unurlifyString_to(ctx, ctx->heap_front, *s); *s = new_s; return r; } |