[libsoup] soup-auth-ntlm: small fix



commit 886741a1eb01103952617be3fe0f1cabb0bf5806
Author: Dan Winship <danw gnome org>
Date:   Sat Dec 29 19:33:21 2012 -0500

    soup-auth-ntlm: small fix

 libsoup/soup-auth-ntlm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libsoup/soup-auth-ntlm.c b/libsoup/soup-auth-ntlm.c
index 11b7568..bbd0495 100644
--- a/libsoup/soup-auth-ntlm.c
+++ b/libsoup/soup-auth-ntlm.c
@@ -306,7 +306,7 @@ soup_auth_ntlm_update (SoupAuth *auth, SoupMessage *msg,
 		if (!response) {
 			priv->state = SOUP_NTLM_SSO_FAILED;
 			success = FALSE;
-		} else if (!g_ascii_strcasecmp (header, "PW")) {
+		} else if (!g_ascii_strcasecmp (response, "PW")) {
 			priv->state = SOUP_NTLM_SSO_UNAVAILABLE;
 			g_free (response);
 			success = FALSE;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]