diff options
Diffstat (limited to 'sfeed_mbox.c')
-rw-r--r-- | sfeed_mbox.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sfeed_mbox.c b/sfeed_mbox.c index a093c46..0ee5bfd 100644 --- a/sfeed_mbox.c +++ b/sfeed_mbox.c @@ -2,7 +2,6 @@ #include <err.h> #include <inttypes.h> -#include <limits.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> @@ -79,7 +78,7 @@ printfeed(FILE *fp, const char *feedname) { struct tm tm; char *fields[FieldLast], timebuf[32], mtimebuf[32]; - char host[HOST_NAME_MAX + 1], *user; + char host[256], *user; time_t parsedtime; if (!(user = getenv("USER"))) |