diff options
Diffstat (limited to 'src/lib/util/test_strings.c')
-rw-r--r-- | src/lib/util/test_strings.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/util/test_strings.c b/src/lib/util/test_strings.c index e55741040..b39028f45 100644 --- a/src/lib/util/test_strings.c +++ b/src/lib/util/test_strings.c | |||
@@ -43,7 +43,7 @@ | |||
43 | #define URLENCODE_TEST_VECTOR_PLAIN "Asbjlaw=ljsdlasjd?人aslkdsa" | 43 | #define URLENCODE_TEST_VECTOR_PLAIN "Asbjlaw=ljsdlasjd?人aslkdsa" |
44 | 44 | ||
45 | #define URLENCODE_TEST_VECTOR_ENCODED \ | 45 | #define URLENCODE_TEST_VECTOR_ENCODED \ |
46 | "Asbjlaw\%3Dljsdlasjd\%3F\%E4\%BA\%BAaslkdsa" | 46 | "Asbjlaw\%3Dljsdlasjd\%3F\%E4\%BA\%BAaslkdsa" |
47 | 47 | ||
48 | int | 48 | int |
49 | main (int argc, char *argv[]) | 49 | main (int argc, char *argv[]) |
@@ -156,10 +156,10 @@ main (int argc, char *argv[]) | |||
156 | WANT (URLENCODE_TEST_VECTOR_ENCODED, b); | 156 | WANT (URLENCODE_TEST_VECTOR_ENCODED, b); |
157 | GNUNET_free (b); | 157 | GNUNET_free (b); |
158 | GNUNET_assert (0 != | 158 | GNUNET_assert (0 != |
159 | GNUNET_STRINGS_urldecode (strlen ( | 159 | GNUNET_STRINGS_urldecode ( |
160 | URLENCODE_TEST_VECTOR_ENCODED), | 160 | URLENCODE_TEST_VECTOR_ENCODED, |
161 | URLENCODE_TEST_VECTOR_ENCODED, | 161 | strlen (URLENCODE_TEST_VECTOR_ENCODED), |
162 | &b)); | 162 | &b)); |
163 | WANT (URLENCODE_TEST_VECTOR_PLAIN, b); | 163 | WANT (URLENCODE_TEST_VECTOR_PLAIN, b); |
164 | GNUNET_free (b); | 164 | GNUNET_free (b); |
165 | return 0; | 165 | return 0; |