soup-auth-ntlm: small fix
authorDan Winship <danw@gnome.org>
Sun, 30 Dec 2012 00:33:21 +0000 (19:33 -0500)
committerDan Winship <danw@gnome.org>
Sun, 30 Dec 2012 00:33:21 +0000 (19:33 -0500)
libsoup/soup-auth-ntlm.c

index 11b7568..bbd0495 100644 (file)
@@ -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;