[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    =?utf-8?q?=5Bkdelibs=5D_kioslave/http=3A_-_Do_not_reset_m=5Fneed?=
From:       Dawit Alemayehu <adawit () kde ! org>
Date:       2011-05-03 13:33:49
Message-ID: 20110503133349.51F1CA60B0 () git ! kde ! org
[Download RAW message or body]

Git commit cf9491c650af9b862932253ca5948f8e2c4eab49 by Dawit Alemayehu.
Committed on 29/04/2011 at 23:07.
Pushed by adawit into branch 'master'.

- Do not reset m_needCredentials needlessly, especially since it already gets
  reset everytime setChallenge is called.
(cherry picked from commit e7721a8bf35da49770a07c1ed9d1122f89024f00)

M  +0    -2    kioslave/http/httpauthentication.cpp     

http://commits.kde.org/kdelibs/cf9491c650af9b862932253ca5948f8e2c4eab49

diff --git a/kioslave/http/httpauthentication.cpp b/kioslave/http/httpauthentication.cpp
index a38ba3b..cfe898f 100644
--- a/kioslave/http/httpauthentication.cpp
+++ b/kioslave/http/httpauthentication.cpp
@@ -233,8 +233,6 @@ void KAbstractHttpAuthentication::generateResponseCommon(const QString &user, co
     }
 
     m_isError = false;
-    // we could leave m_needCredentials value alone; this is just defensive coding.
-    m_needCredentials = true;
     m_forceKeepAlive = false;
     m_forceDisconnect = false;
 }

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic