Clean up layout.
This commit is contained in:
parent
b98af49d97
commit
d2625fd657
@ -1677,7 +1677,8 @@ SSL_set_tlsext_status_ids(con, ids);
|
|||||||
int seen = 0;
|
int seen = 0;
|
||||||
BIO_printf(sbio,"<stream:stream "
|
BIO_printf(sbio,"<stream:stream "
|
||||||
"xmlns:stream='http://etherx.jabber.org/streams' "
|
"xmlns:stream='http://etherx.jabber.org/streams' "
|
||||||
"xmlns='jabber:client' to='%s' version='1.0'>", xmpphost? xmpphost:host);
|
"xmlns='jabber:client' to='%s' version='1.0'>", xmpphost ?
|
||||||
|
xmpphost : host);
|
||||||
seen = BIO_read(sbio,mbuf,BUFSIZZ);
|
seen = BIO_read(sbio,mbuf,BUFSIZZ);
|
||||||
mbuf[seen] = 0;
|
mbuf[seen] = 0;
|
||||||
while (!strstr(mbuf, "<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'") &&
|
while (!strstr(mbuf, "<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'") &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user