strbuf: add strbuf_reencode helper
[gitweb.git] / remote-curl.c
index 52c2d96ce6183ca8b3498794304fa8dc98f8f42a..a5ab977306ab19ad0def98ea11a6c0826acf7bbc 100644 (file)
@@ -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 (strcasecmp(type->buf, "text/plain"))
+       if (strcmp(type->buf, "text/plain"))
                return -1;
 
        strbuf_trim(msg);