summaryrefslogtreecommitdiff
path: root/sfeed_gph.c
diff options
context:
space:
mode:
Diffstat (limited to 'sfeed_gph.c')
-rw-r--r--sfeed_gph.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sfeed_gph.c b/sfeed_gph.c
index addb457..df2b5b2 100644
--- a/sfeed_gph.c
+++ b/sfeed_gph.c
@@ -95,7 +95,8 @@ printfeed(FILE *fp, const char *feedname)
break;
parsedtime = 0;
- strtotime(fields[FieldUnixTimestamp], &parsedtime);
+ if (strtotime(fields[FieldUnixTimestamp], &parsedtime))
+ continue;
if (!(tm = localtime(&parsedtime)))
err(1, "localtime");