[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdenetwork/kopete/protocols/yahoo/libkyahoo
From: Matt Rogers <mattr () kde ! org>
Date: 2010-01-16 5:01:24
Message-ID: 1263618084.880891.17269.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1075432 by mattr:
Fix error handling in the Y! login.
If your password was wrong, it would just get into a loop. The correct
prompts now appear for both the wrong password and your account being
locked out.
Patch by Michael Cole. Thanks!
CCMAIL: mcole@mycam-asia.tv
M +1 -2 logintask.cpp
--- trunk/KDE/kdenetwork/kopete/protocols/yahoo/libkyahoo/logintask.cpp #1075431:1075432
@@ -236,15 +236,14 @@
if (error == 0)
{
QStringList responses = m_stage1Data.split("\r\n");
+ responseNumber = responses[0].toInt();
if (responses.count() >= 3)
{
- responseNumber = responses[0].toInt();
token = responses[1];
token.remove("ymsgr=");
kDebug(YAHOO_RAW_DEBUG) << "response is:" << responseNumber;
kDebug(YAHOO_RAW_DEBUG) << "token is:" << token;
}
-
if (responseNumber != 0)
{
switch(responseNumber)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic