about summary refs log tree commit diff stats
path: root/cgit.c
diff options
context:
space:
mode:
authorLars Hjemli2010-09-19 19:00:05 +0200
committerLars Hjemli2010-09-19 19:00:05 +0200
commita9d6e6e695da6c6ed7f4bb32630ab2f3d9314806 (patch)
treede8271ebfabd244437cd68021c8af86391afb9bd /cgit.c
parentMerge branch 'lh/section-from-path' (diff)
parentprefer html_raw() to write() (diff)
downloadcgit-a9d6e6e695da6c6ed7f4bb32630ab2f3d9314806.tar.gz
cgit-a9d6e6e695da6c6ed7f4bb32630ab2f3d9314806.zip
Merge branch 'ml/bugfix'
Diffstat (limited to 'cgit.c')
-rw-r--r--cgit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgit.c b/cgit.c index e1d2216..96900bb 100644 --- a/cgit.c +++ b/cgit.c
@@ -610,7 +610,7 @@ static void process_cached_repolist(const char *path)
610 hash = hash_str(path); 610 hash = hash_str(path);
611 if (ctx.cfg.project_list) 611 if (ctx.cfg.project_list)
612 hash += hash_str(ctx.cfg.project_list); 612 hash += hash_str(ctx.cfg.project_list);
613 cached_rc = xstrdup(fmt("%s/rc-%8x", ctx.cfg.cache_root, hash)); 613 cached_rc = xstrdup(fmt("%s/rc-%8lx", ctx.cfg.cache_root, hash));
614 614
615 if (stat(cached_rc, &st)) { 615 if (stat(cached_rc, &st)) {
616 /* Nothing is cached, we need to scan without forking. And 616 /* Nothing is cached, we need to scan without forking. And