Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git_connect: let user override virtual-host we send to daemon
[gitweb.git]
/
url.c
diff --git
a/url.c
b/url.c
index 335d97d3f74e5b7d7139e223fbe1d19837a72e81..7ca2a69e1091fc57cb292052015c920499fe3379 100644
(file)
--- a/
url.c
+++ b/
url.c
@@
-121,7
+121,7
@@
void end_url_with_slash(struct strbuf *buf, const char *url)
{
strbuf_addstr(buf, url);
if (buf->len && buf->buf[buf->len - 1] != '/')
- strbuf_add
str(buf, "/"
);
+ strbuf_add
ch(buf, '/'
);
}
void str_end_url_with_slash(const char *url, char **dest) {