summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2015-10-04 23:29:17 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2015-10-04 23:44:51 +0200
commit7e6245aa708526949100478f5847704a7dd6eac2 (patch)
tree798f4274e58a4468f6eb068da2200a377e069031 /util.h
parentf9d8ddb73c6297de4702cde6382db6378786d420 (diff)
portability: dont use HOST_NAME_MAX, just use 256 as maximum
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.h b/util.h
index ffd4a3a..2e55460 100644
--- a/util.h
+++ b/util.h
@@ -15,7 +15,7 @@ struct feed {
/* uri */
struct uri {
char proto[48];
- char host[HOST_NAME_MAX + 1];
+ char host[256];
char path[2048];
char port[6]; /* numeric port */
};