diff options
Diffstat (limited to 'net/stone/files/patch-ab')
-rw-r--r-- | net/stone/files/patch-ab | 27 |
1 files changed, 3 insertions, 24 deletions
diff --git a/net/stone/files/patch-ab b/net/stone/files/patch-ab index 623260ef3d0b..9b0db0146cb2 100644 --- a/net/stone/files/patch-ab +++ b/net/stone/files/patch-ab @@ -1,14 +1,6 @@ ---- stone.c.orig Sat Feb 24 17:32:01 2001 -+++ stone.c Tue May 15 14:27:54 2001 -@@ -87,6 +87,7 @@ - #include <ctype.h> - #include <stdarg.h> - #include <signal.h> -+#include <sys/param.h> - typedef void (*FuncPtr)(void*); - - #ifdef WINDOWS -@@ -240,7 +241,6 @@ +--- stone.c.orig Thu Jun 14 22:00:00 2001 ++++ stone.c Tue Jun 19 15:36:19 2001 +@@ -249,7 +249,6 @@ char *cipher_list = NULL; #else #ifdef USE_POP @@ -16,16 +8,3 @@ #include "md5.h" #endif #endif -@@ -2862,10 +2862,10 @@ - - FILE *openconfig() { - int pfd[2]; -- char host[STRMAX]; -+ char host[MAXHOSTNAMELEN]; - #ifdef CPP - if (CppCommand != NULL && *CppCommand != '\0') { -- if (gethostname(host,STRMAX-1) < 0) { -+ if (gethostname(host,MAXHOSTNAMELEN-1) < 0) { - message(LOG_ERR,"gethostname err=%d",errno); - exit(1); - } |