diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2021-04-23 11:16:50 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2021-04-23 11:16:50 +0000 |
commit | 59ea885da07c0916fb5917efb5538df2ecec1553 (patch) | |
tree | 7788717c19054ae6300f222374c1179e00bf9c8d /fm.h | |
parent | Update ChangeLog (diff) | |
download | w3m-59ea885da07c0916fb5917efb5538df2ecec1553.tar.gz w3m-59ea885da07c0916fb5917efb5538df2ecec1553.zip |
Treat 127.0.0.1, [::1], and hostname as localhost
Diffstat (limited to '')
-rw-r--r-- | fm.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -19,6 +19,7 @@ #include <stdlib.h> #include <string.h> #include <unistd.h> +#include <limits.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> @@ -135,6 +136,10 @@ void bzero(void *, int); #define DICTBUFFERNAME "*dictionary*" #endif /* USE_DICT */ +#ifndef HOST_NAME_MAX +#define HOST_NAME_MAX 255 +#endif + /* * Line Property */ @@ -837,6 +842,7 @@ global char PreserveTimestamp init(TRUE); global char ArgvIsURL init(TRUE); global char MetaRefresh init(FALSE); global char LocalhostOnly init(FALSE); +global char* HostName init(NULL); global char fmInitialized init(FALSE); global char QuietMessage init(FALSE); |