# HG changeset patch # User Nathan Walp # Date 1068880695 0 # Node ID 6cd392e0d6ea977e65bc1299422568ea7f980c92 # Parent 43a214a385d19861562de4bb4ac825a926c9ea27 [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 diff -r 43a214a385d1 -r 6cd392e0d6ea src/protocols/jabber/auth.c --- 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;