summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.h b/util.h
index 59ddadf..ffd4a3a 100644
--- 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 */
};