[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/kioslave/pop3
From: Szombathelyi György <gyurco () freemail ! hu>
Date: 2004-11-07 16:50:15
Message-ID: 20041107165015.16B1816C08 () office ! kde ! org
[Download RAW message or body]
CVS commit by gyurco:
Fix one-step SASL authentication (e.g. PLAIN)
M +30 -31 pop3.cc 1.157
--- kdebase/kioslave/pop3/pop3.cc #1.156:1.157
@@ -537,6 +537,5 @@ int POP3Protocol::loginSASL( KIO::AuthIn
challenge.resize( 2049 );
resp = command( firstCommand.latin1(), challenge.data(), 2049 );
- if ( resp == Ok || resp == Cont ) {
- do {
+ while( resp == Cont ) {
challenge.resize(challenge.find(0));
// POP3_DEBUG << "S: " << QCString(challenge.data(),challenge.size()+1) << endl;
@@ -570,6 +569,6 @@ int POP3Protocol::loginSASL( KIO::AuthIn
challenge.resize(2049);
resp = command( tmp.data(), challenge.data(), 2049 );
- } while( resp == Cont );
}
+
sasl_dispose( &conn );
if ( resp == Ok ) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic