populate cs_inet_email with a default generated address ... we need it for XMPP
[citadel.git] / citadel / modules / xmpp / serv_xmpp.c
index cc75f6dd190751d88f112fa6c91035277d28c2d2..2d8ef9d0fa42bbc95d0b780a343809953a4770b9 100644 (file)
@@ -413,16 +413,7 @@ void xmpp_xml_end(void *data, const char *supplied_el) {
                        }
 
                        /* Generate the "full JID" of the client resource */
-
-                       snprintf(XMPP->client_jid, sizeof XMPP->client_jid,
-                               "%s/%s",
-                               CC->cs_inet_email,
-                               XMPP->iq_client_resource
-                       );
-
-                       /* FIXME look here ... there's nothing before the slash ... wtf?
-                       syslog(LOG_DEBUG, "\033[31m client resource = '%s' \033[0m", XMPP->client_jid);
-                       */
+                       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 */