summaryrefslogtreecommitdiff
path: root/lib/multi.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2019-05-13 21:42:35 +0100
committerSteve Holme <steve_holme@hotmail.com>2019-05-15 00:32:42 +0100
commite832d1ef74f260146cdab59cbac1d6969836663a (patch)
tree2b06c75083bc17ab2cb274c7bae9feedf44fdfad /lib/multi.c
parent85bef18ca1afc356df3bb28e27ac74e4332affa1 (diff)
downloadgnurl-e832d1ef74f260146cdab59cbac1d6969836663a.tar.gz
gnurl-e832d1ef74f260146cdab59cbac1d6969836663a.tar.bz2
gnurl-e832d1ef74f260146cdab59cbac1d6969836663a.zip
http_negotiate: Move the Negotiate state out of the negotiatedata structure
Given that this member variable is not used by the SASL based protocols there is no need to have it here. Closes #3882
Diffstat (limited to 'lib/multi.c')
-rw-r--r--lib/multi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/multi.c b/lib/multi.c
index 39e521afd..d7970c7d5 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -592,8 +592,8 @@ static CURLcode multi_done(struct Curl_easy *data,
conn->proxy_ntlm_state == NTLMSTATE_TYPE2)
#endif
#if defined(USE_SPNEGO)
- && !(conn->negotiate.state == GSS_AUTHRECV ||
- conn->proxyneg.state == GSS_AUTHRECV)
+ && !(conn->http_negotiate_state == GSS_AUTHRECV ||
+ conn->proxy_negotiate_state == GSS_AUTHRECV)
#endif
) || conn->bits.close
|| (premature && !(conn->handler->flags & PROTOPT_STREAM))) {