aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChristian Stewart <christian@paral.in>2015-12-08 10:04:52 -0500
committerDaniel Stenberg <daniel@haxx.se>2015-12-08 18:12:16 +0100
commitb6d5cb40d7038fe1ed5cda7815a6fe137242289e (patch)
tree1b487f52a288553365c875a47777f42ddbcc3902 /lib
parent6c2a10e9634840f5e2fc4c40da081357fe55d6f7 (diff)
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
Diffstat (limited to 'lib')
-rw-r--r--lib/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c
index 49b7d6b9c..28a1a8d63 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -567,7 +567,7 @@ output_auth_headers(struct connectdata *conn,
{
const char *auth = NULL;
CURLcode result = CURLE_OK;
-#if defined(USE_SPNEGO) || !defined(CURL_DISABLE_VERBOSE_STRINGS)
+#if defined(USE_SPNEGO)
struct SessionHandle *data = conn->data;
#endif
#ifdef USE_SPNEGO