changeset 7515:6cd392e0d6ea

[gaim-migrate @ 8128] today's lesson is: test things you wrote on a 7-hour offline car ride before you commit them committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sat, 15 Nov 2003 07:18:15 +0000
parents 43a214a385d1
children 4749299f199a
files src/protocols/jabber/auth.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/jabber/auth.c	Sat Nov 15 07:09:20 2003 +0000
+++ b/src/protocols/jabber/auth.c	Sat Nov 15 07:18:15 2003 +0000
@@ -132,9 +132,9 @@
 
 	if(!type) {
 		return;
-	} else if(strcmp(type, "error")) {
+	} else if(!strcmp(type, "error")) {
 		/* XXX: handle error */
-	} else if(strcmp(type, "result")) {
+	} else if(!strcmp(type, "result")) {
 		query = xmlnode_get_child(packet, "query");
 		if(js->stream_id && xmlnode_get_child(query, "digest")) {
 			digest = TRUE;