Merge tag 'l10n-2.10.0-rnd2.3' of git://github.com/git-l10n/git-po into maint
[gitweb.git] / http.c
diff --git a/http.c b/http.c
index e81dd132d483aa02540bac7d1f55b5e98b1ad736..cd40b012f89397db67e851101ab38c2c57fd18c9 100644 (file)
--- a/http.c
+++ b/http.c
@@ -1225,7 +1225,7 @@ void append_remote_object_url(struct strbuf *buf, const char *url,
 
        strbuf_addf(buf, "objects/%.*s/", 2, hex);
        if (!only_two_digit_prefix)
-               strbuf_addf(buf, "%s", hex+2);
+               strbuf_addstr(buf, hex + 2);
 }
 
 char *get_remote_object_url(const char *url, const char *hex,