summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
bfabd45)
The function read_agefile() returns time_t, which is a signed datatime.
We should not return unsigned (negative) value here.
Reported-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Christian Hesse <mail@eworm.de>
if (readfile(path, &buf, &size)) {
free(buf);
if (readfile(path, &buf, &size)) {
free(buf);
}
if (parse_date(buf, &date_buf) == 0)
}
if (parse_date(buf, &date_buf) == 0)