diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-03-03 18:07:38 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-03-03 18:07:38 +0000 |
commit | 5c8214fbf271b3c47982fb61322e00905aad6cdf (patch) | |
tree | 888246584aeb292701376e4e2d07c852ef87a5de /sysutils/agedu/files/patch-httpd.c | |
parent | Convert REINPLACE_CMD to patch file (diff) |
Convert REINPLACE_CMD to patch file
Notes
Notes:
svn path=/head/; revision=567121
Diffstat (limited to 'sysutils/agedu/files/patch-httpd.c')
-rw-r--r-- | sysutils/agedu/files/patch-httpd.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/agedu/files/patch-httpd.c b/sysutils/agedu/files/patch-httpd.c new file mode 100644 index 000000000000..6c9b7c50a3c6 --- /dev/null +++ b/sysutils/agedu/files/patch-httpd.c @@ -0,0 +1,11 @@ +--- httpd.c.orig 2020-07-05 01:20:14 UTC ++++ httpd.c +@@ -570,7 +570,7 @@ static int make_listening_sockets(struct listenfds *fd + portstr = NULL; /* normalise NULL and empty string */ + + if (!address) { +- char hostname[HOST_NAME_MAX]; ++ char hostname[_POSIX_HOST_NAME_MAX]; + if (gethostname(hostname, sizeof(hostname)) < 0) { + perror("hostname"); + return -1; |