summaryrefslogtreecommitdiffstats
path: root/src/pedro/pedroxmpp.cpp
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2006-05-24 05:08:32 +0000
committerishmal <ishmal@users.sourceforge.net>2006-05-24 05:08:32 +0000
commit9c0f6e79c2d1d446169f4c11f29dceecbdddee58 (patch)
tree00f88dda589a02eda92ae6bf68951fb8a6973410 /src/pedro/pedroxmpp.cpp
parentorder tweak (diff)
downloadinkscape-9c0f6e79c2d1d446169f4c11f29dceecbdddee58.tar.gz
inkscape-9c0f6e79c2d1d446169f4c11f29dceecbdddee58.zip
Finish registration stuff
(bzr r994)
Diffstat (limited to 'src/pedro/pedroxmpp.cpp')
-rw-r--r--src/pedro/pedroxmpp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pedro/pedroxmpp.cpp b/src/pedro/pedroxmpp.cpp
index 7160a09bd..92fa2f9a1 100644
--- a/src/pedro/pedroxmpp.cpp
+++ b/src/pedro/pedroxmpp.cpp
@@ -3405,7 +3405,7 @@ bool XmppClient::inBandRegistrationChangePassword(const DOMString &newpassword)
//# Let's try it form-style to allow the common old/new password thing
char *fmt =
- "<iq type='set' from='%s' to='%s' id='regpass%d'>"
+ "<iq type='set' id='regpass%d' from='%s' to='%s'>"
" <query xmlns='jabber:iq:register'>"
" <x xmlns='jabber:x:data' type='form'>"
" <field type='hidden' var='FORM_TYPE'>"
@@ -3442,7 +3442,7 @@ bool XmppClient::inBandRegistrationCancel()
Parser parser;
char *fmt =
- "<iq type='set' from='%s' id='regcancel%d'>"
+ "<iq type='set' id='regcancel%d' from='%s'>"
"<query xmlns='jabber:iq:register'><remove/></query>"
"</iq>\n\n";
if (!write(fmt, msgId++, jid.c_str()))