diff options
| author | Bob Jamison <ishmalius@gmail.com> | 2007-03-12 21:14:51 +0000 |
|---|---|---|
| committer | ishmal <ishmal@users.sourceforge.net> | 2007-03-12 21:14:51 +0000 |
| commit | 73bc008fd7f347e04877123b0658995befd821c9 (patch) | |
| tree | f596c2fcae8bf3ef2b891e6e6671b0b454056fdf /src/pedro/pedroxmpp.cpp | |
| parent | fix snapping while uniformly scaling, fix snapping while skewing (diff) | |
| download | inkscape-73bc008fd7f347e04877123b0658995befd821c9.tar.gz inkscape-73bc008fd7f347e04877123b0658995befd821c9.zip | |
Allow server to skip final "rspauth" SASL handshake
(bzr r2622)
Diffstat (limited to 'src/pedro/pedroxmpp.cpp')
| -rw-r--r-- | src/pedro/pedroxmpp.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pedro/pedroxmpp.cpp b/src/pedro/pedroxmpp.cpp index 408288187..2dc20deba 100644 --- a/src/pedro/pedroxmpp.cpp +++ b/src/pedro/pedroxmpp.cpp @@ -1726,6 +1726,13 @@ bool XmppClient::saslMd5Authenticate() status("server says:: '%s'", recbuf.c_str()); elem = parser.parse(recbuf); //elem->print(); + //# Early success? + if (elem->findElements("success").size() > 0) + { + delete elem; + return true; + } + //# Continue for one more SASL cycle b64challenge = elem->getTagValue("challenge"); delete elem; |
