Mercurial > pidgin
comparison libpurple/protocols/yahoo/ycht.c @ 20777:c40416c4eca6
Add reasons to a couple of new errors (and to a commented-out one, for
completeness).
author | Will Thompson <will.thompson@collabora.co.uk> |
---|---|
date | Fri, 05 Oct 2007 16:50:54 +0000 |
parents | 44b4e8bd759b |
children | ba41f2a60253 |
comparison
equal
deleted
inserted
replaced
20776:f3cfcbbac3d8 | 20777:c40416c4eca6 |
---|---|
283 if (ret < 0 && errno == EAGAIN) | 283 if (ret < 0 && errno == EAGAIN) |
284 return; | 284 return; |
285 else if (ret <= 0) { | 285 else if (ret <= 0) { |
286 /* TODO: error handling */ | 286 /* TODO: error handling */ |
287 /* | 287 /* |
288 purple_connection_error(purple_account_get_connection(irc->account), | 288 purple_connection_error_reason(purple_account_get_connection(irc->account), |
289 PURPLE_REASON_NETWORK_ERROR, | |
289 _("Server has disconnected")); | 290 _("Server has disconnected")); |
290 */ | 291 */ |
291 return; | 292 return; |
292 } | 293 } |
293 | 294 |