X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=http.c;h=364c333c6b9c553121c4cc6ad6a9b622de185808;hb=4dd4a09eac9ecb27f051ad0f3447c205c5b50c8b;hp=4814217c6401faa1fd8f13f0288758f57b5e3755;hpb=755f0e36bcaaeb1c95726faaccb10da800803570;p=git.git diff --git a/http.c b/http.c index 4814217c6..364c333c6 100644 --- a/http.c +++ b/http.c @@ -720,7 +720,7 @@ static inline int hex(int v) return 'A' + v - 10; } -static void end_url_with_slash(struct strbuf *buf, const char *url) +void end_url_with_slash(struct strbuf *buf, const char *url) { strbuf_addstr(buf, url); if (buf->len && buf->buf[buf->len - 1] != '/')