Introduction
Introduction Statistics Contact Development Disclaimer Help
Annoy_Leot found this. I had to change it. It is HOST_NAME_MAX. - geomyidae - A…
git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfri…
Log
Files
Refs
Tags
README
LICENSE
---
commit 37d8397b8e850f2ba35ae8d4a109360da294732f
parent 904c8907275f13139e91bf1c3179f745d69f7fac
Author: Christoph Lohmann <[email protected]>
Date: Mon, 12 Nov 2018 22:42:00 +0100
Annoy_Leot found this. I had to change it. It is HOST_NAME_MAX.
Diffstat:
M main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/main.c b/main.c
@@ -480,7 +480,7 @@ main(int argc, char *argv[])
usage();
if (ohost == NULL) {
- /* Do not use MAX_NAME_HOST, it is not defined on NetBSD. */
+ /* Do not use HOST_NAME_MAX, it is not defined on NetBSD. */
ohost = xcalloc(1, 256+1);
if (gethostname(ohost, 256) < 0) {
perror("gethostname");
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.