mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:51:53 +03:00
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:
parent
bc28a35dbc
commit
38b5744266
3 changed files with 4 additions and 6 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue