diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-09-09 00:25:08 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-09-09 00:25:08 +0200 |
commit | 5ae58d5ce662681b91f1ab207b2ac14358ab678b (patch) | |
tree | 7d8d28929ef4cd8b735bfa759ad6b840a812c94e | |
parent | 951252ff9dd357b499c7b72561676a45e83a4797 (diff) |
util.h: HOST_NAME_MAX+1 for nul-terminator
-rw-r--r-- | util.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ }; |