changeset 24483:f48bfb88c7cb

Whoops, should return FALSE, not NULL, when jabber_buddy_find returns NULL
author Marcus Lundblad <ml@update.uu.se>
date Wed, 26 Nov 2008 18:31:24 +0000
parents 0f7a248848ed
children bec26d0c153d 68bfc99884ea
files libpurple/protocols/jabber/message.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/message.c	Wed Nov 26 00:41:53 2008 +0000
+++ b/libpurple/protocols/jabber/message.c	Wed Nov 26 18:31:24 2008 +0000
@@ -920,7 +920,7 @@
 			if (jb) {
 				return jabber_buddy_has_capability(jb, XEP_0231_NAMESPACE);
 			} else {
-				return NULL;
+				return FALSE;
 			}
 			break;
 		default: