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

List:       kde-commits
Subject:    kdebase/kioslave/smtp
From:       Szombathelyi György <gyurco () freemail ! hu>
Date:       2004-11-05 14:00:48
Message-ID: 20041105140048.5A50916D7F () office ! kde ! org
[Download RAW message or body]

CVS commit by gyurco: 

Ugly hack to make AUTH PLAIN work.
The problem is that how can we tell in a clean way that the auth dialog is 
only one command? Maybe the isComplete() method's semantics should change?
The server should decide when to return a response, not the client.
CCMAIL: Woebbeking@onlinehome.de


  M +3 -0      command.cc   1.21


--- kdebase/kioslave/smtp/command.cc  #1.20:1.21
@@ -317,4 +317,7 @@ namespace KioSMTP {
       cmd = firstCommand.latin1();
       kdDebug(7112) << "mechusing: " << mMechusing << endl;
+
+      /* FIXME: ugly hack */
+      if ( QString::fromLatin1( mMechusing ) == "PLAIN" ) mComplete = true;
     } else {
 //      kdDebug(7112) << "SS: '" << mLastChallenge << "'" << endl;


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

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