diff libpurple/protocols/jabber/oob.c @ 25934:c8606917787a

Avoid assertion failures on NULL 'from' attributes
author Paul Aurich <paul@darkrain42.org>
date Sun, 08 Feb 2009 06:40:15 +0000
parents 050052891c55
children db99cde1845c
line wrap: on
line diff
--- a/libpurple/protocols/jabber/oob.c	Sun Feb 08 06:31:18 2009 +0000
+++ b/libpurple/protocols/jabber/oob.c	Sun Feb 08 06:40:15 2009 +0000
@@ -198,7 +198,7 @@
 	if(type != JABBER_IQ_SET)
 		return;
 
-	if(!querynode)
+	if(!from)
 		return;
 
 	if(!(urlnode = xmlnode_get_child(querynode, "url")))