Mercurial > pidgin.yaz
comparison libgaim/protocols/qq/udp_proxy_s5.c @ 14346:fd744ac11331
[gaim-migrate @ 17048]
Fixed an incorrect instance of error handling.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Huetsch <markhuetsch> |
---|---|
date | Sat, 26 Aug 2006 17:24:10 +0000 |
parents | 902c3aa4950a |
children | 473b225e7352 |
comparison
equal
deleted
inserted
replaced
14345:3c58357772a2 | 14346:fd744ac11331 |
---|---|
223 gaim_debug(GAIM_DEBUG_INFO, "s5_canread", "packet smaller than 2 octet\n"); | 223 gaim_debug(GAIM_DEBUG_INFO, "s5_canread", "packet smaller than 2 octet\n"); |
224 close(source); | 224 close(source); |
225 | 225 |
226 if (phb->account == NULL || gaim_account_get_connection(phb->account) != NULL) { | 226 if (phb->account == NULL || gaim_account_get_connection(phb->account) != NULL) { |
227 | 227 |
228 phb->func(phb->data, source, NULL); | 228 phb->func(phb->data, -1, _("Unable to connect")); |
229 } | 229 } |
230 | 230 |
231 g_free(phb->host); | 231 g_free(phb->host); |
232 g_free(phb); | 232 g_free(phb); |
233 return; | 233 return; |