diff src/protocols/bonjour/bonjour.c @ 11693:b91a84e7cbcb

[gaim-migrate @ 13979] Don't crash on bonjour when IMing a non-existant user. Also better error reporting, I think. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 18 Oct 2005 04:16:44 +0000
parents 739d6376dec2
children 11e95968c9ff
line wrap: on
line diff
--- a/src/protocols/bonjour/bonjour.c	Tue Oct 18 02:54:26 2005 +0000
+++ b/src/protocols/bonjour/bonjour.c	Tue Oct 18 04:16:44 2005 +0000
@@ -159,9 +159,7 @@
 	if(!to || !msg)
 		return 0;
 
-	bonjour_jabber_send_message(((BonjourData*)(connection->proto_data))->jabber_data, to, msg);
-
-	return 1;
+	return bonjour_jabber_send_message(((BonjourData*)(connection->proto_data))->jabber_data, to, msg);
 }
 
 void