aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_gethostname.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2011-09-25 23:58:47 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-09-25 23:58:47 +0200
commit38b5744266f805f3dd6d9486ba323f99ab420d52 (patch)
treed3d78ef21669bd010d0abf00a616b482d11410fc /lib/curl_gethostname.c
parentbc28a35dbc9f449590b3003013715f40d0f0b895 (diff)
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.
Diffstat (limited to 'lib/curl_gethostname.c')
-rw-r--r--lib/curl_gethostname.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/curl_gethostname.c b/lib/curl_gethostname.c
index 210ca0264..6fcfdc542 100644
--- a/lib/curl_gethostname.c
+++ b/lib/curl_gethostname.c
@@ -28,9 +28,6 @@
#include "curl_gethostname.h"
-/* Hostname buffer size */
-#define HOSTNAME_MAX 1024
-
/*
* Curl_gethostname() is a wrapper around gethostname() which allows
* overriding the host name that the function would normally return.