mirror of https://github.com/moparisthebest/curl
build: fix compilation error with CURL_DISABLE_VERBOSE_STRINGS
With curl disable verbose strings in http.c the compilation fails due to the data variable being undefined later on in the function. Closes #558
This commit is contained in:
parent
6c2a10e963
commit
b6d5cb40d7
|
@ -567,7 +567,7 @@ output_auth_headers(struct connectdata *conn,
|
||||||
{
|
{
|
||||||
const char *auth = NULL;
|
const char *auth = NULL;
|
||||||
CURLcode result = CURLE_OK;
|
CURLcode result = CURLE_OK;
|
||||||
#if defined(USE_SPNEGO) || !defined(CURL_DISABLE_VERBOSE_STRINGS)
|
#if defined(USE_SPNEGO)
|
||||||
struct SessionHandle *data = conn->data;
|
struct SessionHandle *data = conn->data;
|
||||||
#endif
|
#endif
|
||||||
#ifdef USE_SPNEGO
|
#ifdef USE_SPNEGO
|
||||||
|
|
Loading…
Reference in New Issue