diff --git a/http-push.c b/http-push.c
index e4ea395e029446920f570d888d93ba9ae249f18c..00e83dcec1d973b069d4c75105aed96634b00994 100644 (file)
--- a/http-push.c
+++ b/http-push.c
case '&':
strbuf_addstr(&buf, "&");
break;
+ case 0:
+ return strbuf_detach(&buf, NULL);
}
s++;
}
return 0;
}
-void run_request_queue(void)
+static void run_request_queue(void)
{
#ifdef USE_CURL_MULTI
is_running_queue = 1;