aboutsummaryrefslogtreecommitdiffstats
path: root/ui-atom.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-atom.c')
-rw-r--r--ui-atom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-atom.c b/ui-atom.c
index e186299..11ea0c0 100644
--- a/ui-atom.c
+++ b/ui-atom.c
@@ -19,7 +19,7 @@ static void add_entry(struct commit *commit, const char *host)
struct commitinfo *info;
info = cgit_parse_commit(commit);
- hex = sha1_to_hex(commit->object.sha1);
+ hex = oid_to_hex(&commit->object.oid);
html("<entry>\n");
html("<title>");
html_txt(info->subject);