| 477 } |
477 } |
| 478 } |
478 } |
| 479 |
479 |
| 480 switch (ret) { |
480 switch (ret) { |
| 481 case QQ_LOGIN_REPLY_PWD_ERROR: |
481 case QQ_LOGIN_REPLY_PWD_ERROR: |
| 482 gc->wants_to_die = TRUE; |
|
| 483 if (!purple_account_get_remember_password(gc->account)) |
482 if (!purple_account_get_remember_password(gc->account)) |
| 484 purple_account_set_password(gc->account, NULL); |
483 purple_account_set_password(gc->account, NULL); |
| 485 purple_connection_error_reason(gc, |
484 purple_connection_error_reason(gc, |
| 486 PURPLE_REASON_AUTHENTICATION_FAILED, _("Incorrect password.")); |
485 PURPLE_REASON_AUTHENTICATION_FAILED, _("Incorrect password.")); |
| 487 break; |
486 break; |