diff libpurple/connection.c @ 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 10f175539cfe
children bb2e5f6ff2b4
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");
 	}