diff options
author | Diego Ongaro | 2009-06-10 18:18:34 -0500 |
---|---|---|
committer | Diego Ongaro | 2009-06-11 00:01:32 -0500 |
commit | 694dd43886f23723f415aed3afb62131cdbcaa51 (patch) | |
tree | 891ce59bcac2673e9ca294cfa83e69eec23ccbd5 /ui-shared.c | |
parent | 87a89aed41136d388537b146000c4af6c1135a8c (diff) | |
download | cgit-694dd43886f23723f415aed3afb62131cdbcaa51.tar cgit-694dd43886f23723f415aed3afb62131cdbcaa51.tar.gz cgit-694dd43886f23723f415aed3afb62131cdbcaa51.zip |
use cgit_httpscheme() for atom feed
Diffstat (limited to 'ui-shared.c')
-rw-r--r-- | ui-shared.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui-shared.c b/ui-shared.c index 749ea35..5ce2bc5 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -503,7 +503,8 @@ void cgit_print_docstart(struct cgit_context *ctx) html("'/>\n"); } if (host && ctx->repo) { - html("<link rel='alternate' title='Atom feed' href='http://"); + html("<link rel='alternate' title='Atom feed' href='"); + html(cgit_httpscheme()); html_attr(cgit_hosturl()); html_attr(cgit_fileurl(ctx->repo->url, "atom", ctx->qry.path, fmt("h=%s", ctx->qry.head))); |