about summary refs log tree commit diff
path: root/ui-repolist.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2011-05-23 23:26:10 +0200
committerLars Hjemli <hjemli@gmail.com>2011-05-23 23:26:10 +0200
commit652a5a18db3b0409fedfaf8c5720446d87628ba0 (patch)
treecefa386058d968217af24374b93972820a9b43a8 /ui-repolist.c
parentMerge branch 'dm/disable-clone' (diff)
parentfix virtual-root if script-name is "" (diff)
downloadcgit-pink-652a5a18db3b0409fedfaf8c5720446d87628ba0.tar.gz
cgit-pink-652a5a18db3b0409fedfaf8c5720446d87628ba0.zip
Merge branch 'stable'
Diffstat (limited to 'ui-repolist.c')
-rw-r--r--ui-repolist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-repolist.c b/ui-repolist.c
index 2c98668..e138f59 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -20,7 +20,7 @@ time_t read_agefile(char *path)
 	if (readfile(path, &buf, &size))
 		return -1;
 
-	if (parse_date(buf, buf2, sizeof(buf2)))
+	if (parse_date(buf, buf2, sizeof(buf2)) > 0)
 		result = strtoul(buf2, NULL, 10);
 	else
 		result = 0;
tgirl/commit/ui.c?h=1.7&id=2404e15e72dcf12395f914bc933faeaaa6e8be33&follow=1'>Check if VDSUSP existsJune McEnroe 2020-02-11Fix completeReplace iterationJune McEnroe 2020-02-11Use pkg(8) to configure on FreeBSDJune McEnroe 2020-02-11Remove legacy codeJune McEnroe 2020-02-11Add INSTALLING section to READMEJune McEnroe