]> gitweb.ps.run Git - ps-cgit/blobdiff - cmd.c
ui-shared: currenturl should take into account leading slash
[ps-cgit] / cmd.c
diff --git a/cmd.c b/cmd.c
index cbd235c9163a55a64c20d0a574c6c7c3d7fe6625..188cd5681b16bfe728c6e71fedb90438782d218b 100644 (file)
--- a/cmd.c
+++ b/cmd.c
@@ -113,7 +113,7 @@ static void refs_fn(void)
 static void snapshot_fn(void)
 {
        cgit_print_snapshot(ctx.qry.head, ctx.qry.sha1, ctx.qry.path,
-                           ctx.repo->snapshots, ctx.qry.nohead);
+                           ctx.qry.nohead);
 }
 
 static void stats_fn(void)