diff pidgin/plugins/disco/xmppdisco.c @ 27059:9639747bb98c

Remove debugging, use user's server as default, and avoid a GTK+ assertion.
author Paul Aurich <paul@darkrain42.org>
date Tue, 26 May 2009 02:46:14 +0000
parents 08964b4b2fe4
children 61d817c4c935
line wrap: on
line diff
--- a/pidgin/plugins/disco/xmppdisco.c	Tue May 26 02:27:49 2009 +0000
+++ b/pidgin/plugins/disco/xmppdisco.c	Tue May 26 02:46:14 2009 +0000
@@ -220,10 +220,9 @@
 			return XMPP_DISCO_SERVICE_TYPE_PUBSUB_COLLECTION;
 		else if (g_str_equal(type, "leaf"))
 			return XMPP_DISCO_SERVICE_TYPE_PUBSUB_LEAF;
-		else if (g_str_equal(type, "service")) {
-			purple_debug_error("xmppdisco", "here\n");
+		else if (g_str_equal(type, "service"))
 			return XMPP_DISCO_SERVICE_TYPE_OTHER;
-		} else {
+		else {
 			purple_debug_warning("xmppdisco", "Unknown pubsub type '%s'\n", type);
 			return XMPP_DISCO_SERVICE_TYPE_OTHER;
 		}