~arivigo/schain

f4d20c9af2d7c3bde2b217092200ee8aefab3c35 — Ariadna Vigo 2 months ago 29e2120
schain.c: fixed dates not updating
1 files changed, 2 insertions(+), 1 deletions(-)

M schain.c
M schain.c => schain.c +2 -1
@@ 173,8 173,9 @@ main(int argc, char *argv[])
			die("Check-in error: count in file too big. Abort.");

		++num;

		strlcpy(date, date_str(time(NULL)), DATE_SIZE);
		write_file(filepath, date, num);

		break;
	default:
		read_file(date, &num, filepath);