pop3.c: Added conditional compilation for NTLM function calls
authorSteve Holme <steve_holme@hotmail.com>
Sun, 3 Jun 2012 16:40:05 +0000 (17:40 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Sun, 3 Jun 2012 16:40:05 +0000 (17:40 +0100)
Added USE_NTLM condition compilation around the NTLM functions called
from pop3_statemach_act() introduced in commit 69f7156ad96877.

lib/pop3.c

index 81a51cf..6d7b9ab 100644 (file)
@@ -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);