summaryrefslogtreecommitdiffabout
path: root/ui-atom.c
authorDiego Ongaro <ongardie@gmail.com>2009-06-10 23:18:34 (UTC)
committer Diego Ongaro <ongardie@gmail.com>2009-06-11 05:01:32 (UTC)
commit694dd43886f23723f415aed3afb62131cdbcaa51 (patch) (side-by-side diff)
tree891ce59bcac2673e9ca294cfa83e69eec23ccbd5 /ui-atom.c
parent87a89aed41136d388537b146000c4af6c1135a8c (diff)
downloadcgit-694dd43886f23723f415aed3afb62131cdbcaa51.zip
cgit-694dd43886f23723f415aed3afb62131cdbcaa51.tar.gz
cgit-694dd43886f23723f415aed3afb62131cdbcaa51.tar.bz2
use cgit_httpscheme() for atom feed
Diffstat (limited to 'ui-atom.c') (more/less context) (ignore whitespace changes)
-rw-r--r--ui-atom.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ui-atom.c b/ui-atom.c
index a6ea3ee..e5c31d9 100644
--- a/ui-atom.c
+++ b/ui-atom.c
@@ -54,3 +54,4 @@ void add_entry(struct commit *commit, char *host)
if (host) {
- html("<link rel='alternate' type='text/html' href='http://");
+ html("<link rel='alternate' type='text/html' href='");
+ html(cgit_httpscheme());
html_attr(host);
@@ -115,3 +116,4 @@ void cgit_print_atom(char *tip, char *path, int max_count)
if (host) {
- html("<link rel='alternate' type='text/html' href='http://");
+ html("<link rel='alternate' type='text/html' href='");
+ html(cgit_httpscheme());
html_attr(host);