sfeed

Simple RSS and Atom feed parser
git clone https://git.sinitax.com/codemadness/sfeed
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit 666bebaea8d9013a5a650ee4c0437fd44cab7a2d
parent fae7e0289118b0211d0fabc12694777a0d6f3772
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon,  5 Jan 2015 14:42:52 +0100

sfeed: fix for "2015-01-05T09:44:46.555Z"

Diffstat:
Msfeed.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 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;