Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Makefile: make NO_ICONV really mean "no iconv"
[gitweb.git]
/
strbuf.c
diff --git
a/strbuf.c
b/strbuf.c
index 8007be8fbafdc3f4542e27cfc9344044f71d43dc..1df674e9194ee6d5cd5386f477745ff6639b7b65 100644
(file)
--- a/
strbuf.c
+++ b/
strbuf.c
@@
-683,7
+683,7
@@
static void strbuf_add_urlencode(struct strbuf *sb, const char *s, size_t len,
(!reserved && is_rfc3986_reserved(ch)))
strbuf_addch(sb, ch);
else
- strbuf_addf(sb, "%%%02x", ch);
+ strbuf_addf(sb, "%%%02x",
(unsigned char)
ch);
}
}