summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2014-04-09 16:10:53 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2014-04-09 16:10:53 +0200
commitba370db56dae47a88aed8257c7f63417aaf7d856 (patch)
treef3daa3b2e90aa5ed13eab3d6595978d73a4be408
parent86e3df6c1114896289ace70c28de4e38cda8b6ba (diff)
sfeed: silly bug
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
-rw-r--r--sfeed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeed.c b/sfeed.c
index 48cf87e..8b8e0d8 100644
--- a/sfeed.c
+++ b/sfeed.c
@@ -336,7 +336,7 @@ parsetime(const char *s, char *buf, size_t bufsiz) {
if(buf)
buf[0] = '\0';
memset(&tm, 0, sizeof(tm));
- for(i = 0; i < formats[i]; i++) {
+ for(i = 0; formats[i]; i++) {
if((p = strptime(s, formats[i], &tm))) {
tm.tm_isdst = -1; /* don't use DST */
if((t = mktime(&tm)) == -1) /* error */