Code

git-cvsserver: document making a password without htpasswd
[git.git] / http.c
diff --git a/http.c b/http.c
index 51253e15a160b8bade37d24308ac3de92e5abe89..07a03fd79b5475f13d21f2b3a6825df7246188bf 100644 (file)
--- 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] != '/')