Mercurial > pidgin.yaz
comparison libpurple/protocols/yahoo/yahoo.c @ 23603:05d3447fb34e
disapproval of revision '3d39da6c8014095cac3a0741bf6fc26219e7aff8'
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Thu, 17 Jul 2008 04:49:35 +0000 |
parents | aaaff38e144f |
children |
comparison
equal
deleted
inserted
replaced
23602:aaaff38e144f | 23603:05d3447fb34e |
---|---|
145 GSList *l = pkt->hash; | 145 GSList *l = pkt->hash; |
146 YahooFriend *f = NULL; | 146 YahooFriend *f = NULL; |
147 char *name = NULL; | 147 char *name = NULL; |
148 gboolean unicode = FALSE; | 148 gboolean unicode = FALSE; |
149 char *message = NULL; | 149 char *message = NULL; |
150 | |
151 if (pkt->service == YAHOO_SERVICE_LOGON && pkt->status == -1) { | |
152 if (!purple_account_get_remember_password(account)) | |
153 purple_account_set_password(account, NULL); | |
154 purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_NAME_IN_USE, | |
155 _("System is busy, please try again later.")); | |
156 return; | |
157 } | |
158 | 150 |
159 if (pkt->service == YAHOO_SERVICE_LOGOFF && pkt->status == -1) { | 151 if (pkt->service == YAHOO_SERVICE_LOGOFF && pkt->status == -1) { |
160 if (!purple_account_get_remember_password(account)) | 152 if (!purple_account_get_remember_password(account)) |
161 purple_account_set_password(account, NULL); | 153 purple_account_set_password(account, NULL); |
162 purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_NAME_IN_USE, | 154 purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_NAME_IN_USE, |