sfeed

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

commit 5ae58d5ce662681b91f1ab207b2ac14358ab678b
parent 951252ff9dd357b499c7b72561676a45e83a4797
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Wed,  9 Sep 2015 00:25:08 +0200

util.h: HOST_NAME_MAX+1 for nul-terminator

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

diff --git a/util.h b/util.h @@ -15,7 +15,7 @@ struct feed { /* uri */ struct uri { char proto[48]; - char host[HOST_NAME_MAX]; + char host[HOST_NAME_MAX + 1]; char path[2048]; char port[6]; /* numeric port */ };