diff options
author | 2009-09-12 10:31:34 -0400 | |
---|---|---|
committer | 2009-09-12 10:31:34 -0400 | |
commit | 9d903b49df5d67d0239ab232bc8951e6c301f504 (patch) | |
tree | 7635716fbecf152b55f40adb6927e46312feeb05 /src/c/urweb.c | |
parent | 1273fb96a25f6f0521b27d97ccb92d0d82668f0f (diff) |
Debugging new string urlification
Diffstat (limited to 'src/c/urweb.c')
-rw-r--r-- | src/c/urweb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/c/urweb.c b/src/c/urweb.c index d5005af2..21e50893 100644 --- a/src/c/urweb.c +++ b/src/c/urweb.c @@ -1625,7 +1625,7 @@ uw_Basis_time uw_Basis_unurlifyTime(uw_context ctx, char **s) { } static uw_Basis_string uw_unurlifyString_to(uw_context ctx, char *r, char *s) { - char *s1, *s2; + char *s1, *s2 = s; int n; if (*s2 == '_') @@ -1633,7 +1633,7 @@ static uw_Basis_string uw_unurlifyString_to(uw_context ctx, char *r, char *s) { else if (s2[0] == '%' && s2[1] == '5' && (s2[2] == 'f' || s2[2] == 'F')) s2 += 3; - for (s1 = r, s2 = s; *s2; ++s1, ++s2) { + for (s1 = r; *s2; ++s1, ++s2) { char c = *s2; switch (c) { |