* xmpp_xml_end(): output what we don't understand in the error message.
authorWilfried Göesgens <willi@citadel.org>
Thu, 29 Apr 2010 18:49:10 +0000 (18:49 +0000)
committerWilfried Göesgens <willi@citadel.org>
Thu, 29 Apr 2010 18:49:10 +0000 (18:49 +0000)
citadel/modules/xmpp/serv_xmpp.c

index 093e80b57174074829ea19061a1dc34ba14202ed..1268fe302c91e3ee6190657eda6cbd597342002b 100644 (file)
@@ -318,7 +318,7 @@ void xmpp_xml_end(void *data, const char *supplied_el) {
 
                else {
                        cprintf("<iq type=\"error\" id=\"%s\">", XMPP->iq_id);
-                       cprintf("<error></error>");
+                       cprintf("<error>Don't know howto do '%s'!</error>", XMPP->iq_type);
                        cprintf("</iq>");
                }