comparison libpurple/connection.c @ 15798:fc7e23aea104

Fix reversed NULL check.
author Daniel Atallah <daniel.atallah@gmail.com>
date Sat, 17 Mar 2007 17:41:14 +0000
parents b25acae693cd
children ccc28043f423
comparison
equal deleted inserted replaced
15795:1dee9065e336 15798:fc7e23aea104
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 */