HOSTNAME_MAX: Moved to curl_gethostname.h

Moved HOSTNAME_MAX #define into curl_gethostname.h rather than being
locally defined in curl_gethostname.c, curl_ntlm_msgs.c and smtp.c.
This commit is contained in:
Steve Holme
2011-09-25 23:58:47 +02:00
committed by Daniel Stenberg
parent bc28a35dbc
commit 38b5744266
3 changed files with 4 additions and 6 deletions

View File

@@ -93,9 +93,6 @@
/* The last #include file should be: */
#include "memdebug.h"
/* Hostname buffer size */
#define HOSTNAME_MAX 1024
/* "NTLMSSP" signature is always in ASCII regardless of the platform */
#define NTLMSSP_SIGNATURE "\x4e\x54\x4c\x4d\x53\x53\x50"