Merge branch 'jk/maint-http-half-auth-push' into maint-1.7.11
[gitweb.git] / http.c
diff --git a/http.c b/http.c
index 7c4a4072f24647bd3ab6cb6c24142d31c595bb86..0a27b146adb15ad97407ed2c196878058f0ccec8 100644 (file)
--- a/http.c
+++ b/http.c
@@ -922,7 +922,7 @@ static char *fetch_pack_index(unsigned char *sha1, const char *base_url)
        tmp = strbuf_detach(&buf, NULL);
 
        if (http_get_file(url, tmp, 0) != HTTP_OK) {
-               error("Unable to get pack index %s\n", url);
+               error("Unable to get pack index %s", url);
                free(tmp);
                tmp = NULL;
        }