diff options
Diffstat (limited to 'src/pedro/pedroxmpp.cpp')
| -rw-r--r-- | src/pedro/pedroxmpp.cpp | 4 |
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())) |
