From: Art Cancro Date: Sat, 3 Jan 2015 16:48:42 +0000 (-0500) Subject: Empty handlers for closing tags of and stanzas. We handled those... X-Git-Tag: v9.01~49^2 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=4f4a70c228427c360d73b5ec1fd5f0726bc20e89 Empty handlers for closing tags of and stanzas. We handled those when they opened, so don't call them unknown. --- diff --git a/citadel/modules/xmpp/serv_xmpp.c b/citadel/modules/xmpp/serv_xmpp.c index 7d8fbc67d..e990ae354 100644 --- a/citadel/modules/xmpp/serv_xmpp.c +++ b/citadel/modules/xmpp/serv_xmpp.c @@ -481,6 +481,14 @@ void xmpp_xml_end(void *data, const char *supplied_el) { CC->kill_me = KILLME_CLIENT_LOGGED_OUT; } + else if (!strcasecmp(el, "query")) { + /* already processed , no further action needed here */ + } + + else if (!strcasecmp(el, "bind")) { + /* already processed , no further action needed here */ + } + else { XMPP_syslog(LOG_DEBUG, "Ignoring unknown tag <%s>\n", el); }