~micahg/ubuntu/natty/pidgin/2.7.9-2

« back to all changes in this revision

Viewing changes to libpurple/protocols/jabber/adhoccommands.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-12-02 16:45:52 UTC
  • mfrom: (2.3.14 sid)
  • Revision ID: james.westby@ubuntu.com-20101202164552-z64wykojzacbb546
Tags: 1:2.7.7-1ubuntu1
New upstream version, drop msn workaround

Show diffs side-by-side

added added

removed removed

Lines of Context:
125
125
        xmlnode_set_attrib(command,"node",actionInfo->node);
126
126
 
127
127
        /* cancel is handled differently on ad-hoc commands than regular forms */
128
 
        if(!strcmp(xmlnode_get_namespace(result),"jabber:x:data") && !strcmp(xmlnode_get_attrib(result, "type"),"cancel")) {
 
128
        if (purple_strequal(xmlnode_get_namespace(result), "jabber:x:data") &&
 
129
                        purple_strequal(xmlnode_get_attrib(result, "type"), "cancel")) {
129
130
                xmlnode_set_attrib(command,"action","cancel");
130
131
        } else {
131
132
                if(actionhandle)