im.pidgin.pidgin: c256220db62231c44a0b4f8369c17f0e6da71121
evands at pidgin.im
evands at pidgin.im
Thu Jan 31 21:00:43 EST 2008
-----------------------------------------------------------------
Revision: c256220db62231c44a0b4f8369c17f0e6da71121
Ancestor: bc7a98594902f485d90087699a52b7b76b5fd389
Author: evands at pidgin.im
Date: 2008-02-01T01:57:53
Branch: im.pidgin.pidgin
Modified files:
libpurple/protocols/qq/login_logout.c
ChangeLog:
Don't tell the user to check the debug log if debug logging isn't enabled.
-------------- next part --------------
============================================================
--- libpurple/protocols/qq/login_logout.c 5e5f4bae740b66f579d583e21eaae8bed58f1b0b
+++ libpurple/protocols/qq/login_logout.c a7117c16ea36489378b3cc0a1248dc2b2ae308d5
@@ -485,11 +485,15 @@ void qq_process_login_reply(guint8 *buf,
PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED, _("Incorrect password."));
break;
case QQ_LOGIN_REPLY_MISC_ERROR:
- purple_connection_error_reason(gc,
- PURPLE_CONNECTION_ERROR_NETWORK_ERROR, _("Unable to login, check debug log"));
+ if (purple_debug_is_enabled())
+ purple_connection_error_reason(gc,
+ PURPLE_CONNECTION_ERROR_NETWORK_ERROR, _("Unable to login. Check debug log."));
+ else
+ purple_connection_error_reason(gc,
+ PURPLE_CONNECTION_ERROR_NETWORK_ERROR, _("Unable to login"));
break;
case QQ_LOGIN_REPLY_OK:
- purple_debug(PURPLE_DEBUG_INFO, "QQ", "Login replys OK, everything is fine\n");
+ purple_debug(PURPLE_DEBUG_INFO, "QQ", "Login repliess OK; everything is fine\n");
break;
case QQ_LOGIN_REPLY_REDIRECT:
/* the redirect has been done in _qq_process_login_reply */
More information about the Commits
mailing list