From 0081bc5d7e565dbd0bf66432d12b5ae9c8b1a947 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Wed, 19 Dec 2018 00:42:32 -0500 Subject: [PATCH] comment change --- citadel/modules/xmpp/serv_xmpp.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/citadel/modules/xmpp/serv_xmpp.c b/citadel/modules/xmpp/serv_xmpp.c index d62bcfe46..2bbfcff1f 100644 --- a/citadel/modules/xmpp/serv_xmpp.c +++ b/citadel/modules/xmpp/serv_xmpp.c @@ -406,16 +406,14 @@ void xmpp_xml_end(void *data, const char *supplied_el) { ) { /* If the client has not specified a client resource, generate one */ - if (IsEmptyStr(XMPP->iq_client_resource)) { snprintf(XMPP->iq_client_resource, sizeof XMPP->iq_client_resource, "%d", CC->cs_pid); } - /* Generate the "full JID" of the client resource */ + /* Generate the "full JID" of the client (user@host/resource) */ snprintf(XMPP->client_jid, sizeof XMPP->client_jid, "%s/%s", CC->cs_inet_email, XMPP->iq_client_resource); /* Tell the client what its JID is */ - cprintf("", xmlesc(xmlbuf, XMPP->iq_id, sizeof xmlbuf)); cprintf(""); cprintf("%s", xmlesc(xmlbuf, XMPP->client_jid, sizeof xmlbuf)); -- 2.30.2