]> git.ipfire.org Git - thirdparty/git.git/blobdiff - http-push.c
use strbuf_addstr() for adding constant strings to a strbuf
[thirdparty/git.git] / http-push.c
index a092f0288bd6944be036a1a051a0954216c382e6..d0b29ac982028a26c97ebd24f1b3f2cbf188e503 100644 (file)
@@ -1137,7 +1137,7 @@ static void remote_ls(const char *path, int flags,
        ls.userData = userData;
        ls.userFunc = userFunc;
 
-       strbuf_addf(&out_buffer.buf, PROPFIND_ALL_REQUEST);
+       strbuf_addstr(&out_buffer.buf, PROPFIND_ALL_REQUEST);
 
        dav_headers = curl_slist_append(dav_headers, "Depth: 1");
        dav_headers = curl_slist_append(dav_headers, "Content-Type: text/xml");