Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
strbuf: add strbuf_reencode helper
[gitweb.git]
/
remote-curl.c
diff --git
a/remote-curl.c
b/remote-curl.c
index 52c2d96ce6183ca8b3498794304fa8dc98f8f42a..a5ab977306ab19ad0def98ea11a6c0826acf7bbc 100644
(file)
--- a/
remote-curl.c
+++ b/
remote-curl.c
@@
-205,7
+205,7
@@
static int show_http_message(struct strbuf *type, struct strbuf *msg)
* TODO should handle "; charset=XXX", and re-encode into
* logoutputencoding
*/
- if (strc
asec
mp(type->buf, "text/plain"))
+ if (strcmp(type->buf, "text/plain"))
return -1;
strbuf_trim(msg);