Switch to unified view

a/libupnpp/soaphelp.cxx b/libupnpp/soaphelp.cxx
...
...
67
            }
67
            }
68
            goto out;
68
            goto out;
69
        }
69
        }
70
        const char *name = ixmlNode_getNodeName(cld);
70
        const char *name = ixmlNode_getNodeName(cld);
71
        if (cld == 0) {
71
        if (cld == 0) {
72
            DOMString pnode = ixmlPrintNode(cld);
72
            cerr << "decodeSoap: got null name ??:" << 
73
            cerr << "decodeSoap: got null name ??:" << pnode << endl;
73
                ixmlPrintNode(cld) << endl;
74
            ixmlFreeDOMString(pnode);
74
            goto out;
75
            goto out;
75
        }
76
        }
76
        IXML_Node *txtnode = ixmlNode_getFirstChild(cld);
77
        IXML_Node *txtnode = ixmlNode_getFirstChild(cld);
77
        const char *value = "";
78
        const char *value = "";
78
        if (txtnode != 0) {
79
        if (txtnode != 0) {
...
...
141
        }
142
        }
142
    }
143
    }
143
    return out;
144
    return out;
144
}
145
}
145
146
147
// Yes inefficient. whatever...
148
string SoapArgs::i2s(int val)
149
{
150
    char cbuf[30];
151
    sprintf(cbuf, "%d", val);
152
    return string(cbuf);
153
}
154
146
IXML_Document *buildSoapBody(SoapData& data)
155
IXML_Document *buildSoapBody(SoapData& data)
147
{
156
{
148
    IXML_Document *doc = ixmlDocument_createDocument();
157
    IXML_Document *doc = ixmlDocument_createDocument();
149
    if (doc == 0) {
158
    if (doc == 0) {
150
        cerr << "buildSoapResponse: out of memory" << endl;
159
        cerr << "buildSoapResponse: out of memory" << endl;