diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-08-22 16:03:26 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-08-22 16:03:26 +0200 |
commit | 6599b96752ddce0ce13b608faf64584109b0851c (patch) | |
tree | d37b979c8430c5b017eabe673602688f29a2e82d /util.h | |
parent | d2031cdff9527a5e8562b80dad0a92a6e3ce4931 (diff) |
use HOST_NAME_MAX for hostname
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -17,7 +17,7 @@ struct feed { /* uri */ struct uri { char proto[48]; - char host[255]; + char host[HOST_NAME_MAX]; char path[2048]; char port[6]; /* numeric port */ }; |