X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=http-push.c;h=00e83dcec1d973b069d4c75105aed96634b00994;hb=1c92a08f286453bd28a1f6153249b2e2cf63cb38;hp=e4ea395e029446920f570d888d93ba9ae249f18c;hpb=d978ead4c3933425f54142f2c3fab7f5071e36ef;p=git.git diff --git a/http-push.c b/http-push.c index e4ea395e0..00e83dcec 100644 --- a/http-push.c +++ b/http-push.c @@ -193,6 +193,8 @@ static char *xml_entities(char *s) case '&': strbuf_addstr(&buf, "&"); break; + case 0: + return strbuf_detach(&buf, NULL); } s++; } @@ -1750,7 +1752,7 @@ static int delete_remote_branch(char *pattern, int force) return 0; } -void run_request_queue(void) +static void run_request_queue(void) { #ifdef USE_CURL_MULTI is_running_queue = 1;