sfeed

simple feed reader - forked from git.codemadness.org/sfeed
git clone git://src.gearsix.net/sfeed
Log | Files | Refs | Atom | README | LICENSE

commit 7f11ef506465896705f15c39bd0416d96ca651a8
parent a225b2a5376bee47fbda86c8aaa74ca7cc8a388a
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat,  8 Aug 2015 00:51:53 +0200

util: just zero strings by null-terminating first byte

Diffstat:
Mutil.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util.c b/util.c @@ -28,7 +28,7 @@ parseuri(const char *s, struct uri *u, int rel) const char *p = s; size_t i; - memset(u, 0, sizeof(struct uri)); + u->proto[0] = u->host[0] = u->path[0] = '\0'; if (!*s) return 0;