diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-10-04 23:29:17 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-10-04 23:44:51 +0200 |
commit | 7e6245aa708526949100478f5847704a7dd6eac2 (patch) | |
tree | 798f4274e58a4468f6eb068da2200a377e069031 /util.h | |
parent | f9d8ddb73c6297de4702cde6382db6378786d420 (diff) |
portability: dont use HOST_NAME_MAX, just use 256 as maximum
Diffstat (limited to 'util.h')
-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 + 1]; + char host[256]; char path[2048]; char port[6]; /* numeric port */ }; |