Mercurial > pidgin.yaz
comparison src/protocols/jabber/auth.c @ 7425:85cd2e71bff7
[gaim-migrate @ 8028]
syncing my jabber changes, and disabling the half-implemented file sending
stuff. I don't want that sneaking into a release.
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Tue, 04 Nov 2003 19:18:38 +0000 |
parents | b250288fa948 |
children | 43a214a385d1 |
comparison
equal
deleted
inserted
replaced
7424:c8b4a617ee5b | 7425:85cd2e71bff7 |
---|---|
127 JabberIq *iq; | 127 JabberIq *iq; |
128 xmlnode *query, *x; | 128 xmlnode *query, *x; |
129 gboolean digest = FALSE; | 129 gboolean digest = FALSE; |
130 const char *pw = gaim_account_get_password(js->gc->account); | 130 const char *pw = gaim_account_get_password(js->gc->account); |
131 | 131 |
132 /* XXX: check for an <iq type='error' /> */ | |
133 | |
132 query = xmlnode_get_child(packet, "query"); | 134 query = xmlnode_get_child(packet, "query"); |
133 if(js->stream_id && xmlnode_get_child(query, "digest")) { | 135 if(js->stream_id && xmlnode_get_child(query, "digest")) { |
134 digest = TRUE; | 136 digest = TRUE; |
135 } else if(!xmlnode_get_child(query, "password")) { | 137 } else if(!xmlnode_get_child(query, "password")) { |
136 gaim_connection_error(js->gc, | 138 gaim_connection_error(js->gc, |