changeset 17563:44393d3e0c3b

Don't use g_critical to report that purple_connection_error was called with text == NULL
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 09 Jun 2007 14:11:39 +0000
parents 6f54b1e84610
children 492b142fd739
files libpurple/connection.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/connection.c	Sat Jun 09 14:10:21 2007 +0000
+++ b/libpurple/connection.c	Sat Jun 09 14:11:39 2007 +0000
@@ -436,7 +436,7 @@
 	g_return_if_fail(gc   != NULL);
 
 	if (text == NULL) {
-		g_critical("purple_connection_error: check `text != NULL' failed");
+		purple_debug_error("connection", "purple_connection_error: check `text != NULL' failed");
 		text = _("Unknown error");
 	}