summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfeed.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sfeed.c b/sfeed.c
index dd76a2d..7175be0 100644
--- a/sfeed.c
+++ b/sfeed.c
@@ -312,7 +312,8 @@ gettimetz(const char *s, char *buf, size_t bufsiz, int *tzoffset)
char c = '+';
size_t i;
- s = trimstart(s);
+ for(; *s && !isalpha(*s) && *s != '-' && *s != '+'; s++)
+ ;
if(!*s || *s == 'Z' || *s == 'z')
goto time_ok;