diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-01-16 12:21:45 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-01-16 12:21:45 +0000 |
commit | b0c00af6d9eee5788c0220da6e427e8bacf81637 (patch) | |
tree | 6b94dd36add036ae8dcdb29becc4bfb1b634fac7 /src/fs/fs_uri.c | |
parent | 42020e0cd21d9999ec08073fe44de7105cbd931f (diff) | |
download | gnunet-b0c00af6d9eee5788c0220da6e427e8bacf81637.tar.gz gnunet-b0c00af6d9eee5788c0220da6e427e8bacf81637.zip |
fix #3272
Diffstat (limited to 'src/fs/fs_uri.c')
-rw-r--r-- | src/fs/fs_uri.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/fs_uri.c b/src/fs/fs_uri.c index 48fc96a1a..d90fa42a5 100644 --- a/src/fs/fs_uri.c +++ b/src/fs/fs_uri.c | |||
@@ -309,7 +309,7 @@ uri_ksk_parse (const char *s, char **emsg) | |||
309 | iret = max; | 309 | iret = max; |
310 | dup = GNUNET_strdup (s); | 310 | dup = GNUNET_strdup (s); |
311 | keywords = GNUNET_malloc (max * sizeof (char *)); | 311 | keywords = GNUNET_malloc (max * sizeof (char *)); |
312 | for (i = slen - 1; i >= pos; i--) | 312 | for (i = slen - 1; i >= (int) pos; i--) |
313 | { | 313 | { |
314 | if ((s[i] == '%') && (&s[i] == strstr (&s[i], "%22"))) | 314 | if ((s[i] == '%') && (&s[i] == strstr (&s[i], "%22"))) |
315 | { | 315 | { |