projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b0153b
)
- enable TLS
author
Wilfried Goesgens
<dothebart@citadel.org>
Mon, 29 Dec 2014 23:39:50 +0000
(
00:39
+0100)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Mon, 29 Dec 2014 23:39:50 +0000
(
00:39
+0100)
- void* is better here then char*
citadel/modules/xmpp/serv_xmpp.c
patch
|
blob
|
history
diff --git
a/citadel/modules/xmpp/serv_xmpp.c
b/citadel/modules/xmpp/serv_xmpp.c
index ea58e3b627dbf9efd6fe658419ed5dfc14f29ee5..424c0fdbb20608668c744f99fdd289ee2d6eb3e2 100644
(file)
--- a/
citadel/modules/xmpp/serv_xmpp.c
+++ b/
citadel/modules/xmpp/serv_xmpp.c
@@
-237,13
+237,13
@@
void xmpp_stream_start(void *data, const char *supplied_el, const char **attr)
/*
* TLS encryption (but only if it isn't already active)
*/
-/*
+
#ifdef HAVE_OPENSSL
if (!CC->redirect_ssl) {
XPUT("<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'></starttls>");
}
#endif
-*/
+
//
*/
if (!CC->logged_in) {
/* If we're not logged in yet, offer SASL as our feature set */
xmpp_output_auth_mechs();
@@
-351,7
+351,7
@@
void xmpp_xml_start(void *data, const char *supplied_el, const char **attr)
if (GetHash(th->Properties, attr[i], strlen(attr[i]), &pv))
{
PropertyHandler* ph = pv;
-
char
*val;
+
void
*val;
StrBuf **pVal;
long len;