aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2012-06-03 17:40:05 +0100
committerSteve Holme <steve_holme@hotmail.com>2012-06-03 17:40:05 +0100
commit3b8cf5bd142b289effcbc1bb12a01e0ae2fe2af2 (patch)
treebe0d0c1805234309486c3f192633080cc4fabfd5
parentc12a414b21f22fca0b1b6860b464d45368152d56 (diff)
pop3.c: Added conditional compilation for NTLM function calls
Added USE_NTLM condition compilation around the NTLM functions called from pop3_statemach_act() introduced in commit 69f7156ad96877.
-rw-r--r--lib/pop3.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/pop3.c b/lib/pop3.c
index 81a51cf4a..6d7b9ab45 100644
--- a/lib/pop3.c
+++ b/lib/pop3.c
@@ -892,6 +892,7 @@ static CURLcode pop3_statemach_act(struct connectdata *conn)
pop3c->state);
break;
+#ifdef USE_NTLM
case POP3_AUTH_NTLM:
result = pop3_state_auth_ntlm_resp(conn, pop3code, pop3c->state);
break;
@@ -900,6 +901,7 @@ static CURLcode pop3_statemach_act(struct connectdata *conn)
result = pop3_state_auth_ntlm_type2msg_resp(conn, pop3code,
pop3c->state);
break;
+#endif
case POP3_AUTH_FINAL:
result = pop3_state_auth_final_resp(conn, pop3code, pop3c->state);