Mercurial > pidgin.yaz
comparison libpurple/protocols/jabber/auth.c @ 22207:b52f690502a4
If falling back on the old auth method for Jabber, be sure to set js->auth_type to JABBER_AUTH_IQ_AUTH.
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Sat, 26 Jan 2008 03:53:18 +0000 |
parents | 70fc60344317 |
children | 3225c99785b8 |
comparison
equal
deleted
inserted
replaced
22206:1a7b74a20bfe | 22207:b52f690502a4 |
---|---|
342 * Note: xep-0078 points out that using jabber:iq:auth after a sasl failure is wrong. However, | 342 * Note: xep-0078 points out that using jabber:iq:auth after a sasl failure is wrong. However, |
343 * I believe this refers to actual authentication failure, not a simple lack of concordant mechanisms. | 343 * I believe this refers to actual authentication failure, not a simple lack of concordant mechanisms. |
344 * Doing otherwise means that simply compiling with SASL support renders the client unable to connect to servers | 344 * Doing otherwise means that simply compiling with SASL support renders the client unable to connect to servers |
345 * which would connect without issue otherwise. -evands | 345 * which would connect without issue otherwise. -evands |
346 */ | 346 */ |
347 js->auth_type = JABBER_AUTH_IQ_AUTH; | |
347 jabber_auth_start_old(js); | 348 jabber_auth_start_old(js); |
348 return; | 349 return; |
349 } | 350 } |
350 /* not reached */ | 351 /* not reached */ |
351 break; | 352 break; |