Mercurial > pidgin.yaz
comparison libpurple/connection.c @ 15852:5198bd455160
Fixed connection errors; this logical check on 'text' was reversed.
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Tue, 20 Mar 2007 14:37:16 +0000 |
parents | d704829a07b2 |
children | c5487dd19e61 |
comparison
equal
deleted
inserted
replaced
15820:c02a897a67c7 | 15852:5198bd455160 |
---|---|
433 { | 433 { |
434 GaimConnectionUiOps *ops; | 434 GaimConnectionUiOps *ops; |
435 | 435 |
436 g_return_if_fail(gc != NULL); | 436 g_return_if_fail(gc != NULL); |
437 | 437 |
438 if (text != NULL) { | 438 if (text == NULL) { |
439 g_critical("gaim_connection_error: check `text != NULL' failed"); | 439 g_critical("gaim_connection_error: check `text != NULL' failed"); |
440 text = _("Unknown error"); | 440 text = _("Unknown error"); |
441 } | 441 } |
442 | 442 |
443 /* If we've already got one error, we don't need any more */ | 443 /* If we've already got one error, we don't need any more */ |