diff options
Diffstat (limited to 'src/util/strings.c')
-rw-r--r-- | src/util/strings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/strings.c b/src/util/strings.c index d5e2f4878..9d6f4039e 100644 --- a/src/util/strings.c +++ b/src/util/strings.c | |||
@@ -2184,7 +2184,7 @@ GNUNET_STRINGS_urlencode (const char *data, size_t len, char **out) | |||
2184 | if (0x80 + 0x40 + 0x20 == ((0x80 + 0x40 + 0x20 + 0x10) & *i8)) | 2184 | if (0x80 + 0x40 + 0x20 == ((0x80 + 0x40 + 0x20 + 0x10) & *i8)) |
2185 | { | 2185 | { |
2186 | /* 3-byte value, percent-encode */ | 2186 | /* 3-byte value, percent-encode */ |
2187 | for (unsigned int i = 0; i<4; i++) | 2187 | for (unsigned int i = 0; i<3; i++) |
2188 | { | 2188 | { |
2189 | GNUNET_buffer_write_fstr (&buf, | 2189 | GNUNET_buffer_write_fstr (&buf, |
2190 | "%%%X%X", | 2190 | "%%%X%X", |