diff options
author | Ben Laurie <ben@links.org> | 2013-09-05 18:28:05 +0200 |
---|---|---|
committer | Ben Laurie <ben@links.org> | 2013-09-05 18:28:05 +0200 |
commit | d2625fd65772ce3de2563e648decd2d1074fd873 (patch) | |
tree | dd9fbbc09171ccba74977af36b4536e44557700e | |
parent | Add an "-xmpphost" option to s_client (diff) | |
download | openssl-d2625fd65772ce3de2563e648decd2d1074fd873.tar.xz openssl-d2625fd65772ce3de2563e648decd2d1074fd873.zip |
Clean up layout.
-rw-r--r-- | apps/s_client.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/s_client.c b/apps/s_client.c index 3089a97176..a2876b8b68 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -1677,7 +1677,8 @@ SSL_set_tlsext_status_ids(con, ids); int seen = 0; BIO_printf(sbio,"<stream:stream " "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); mbuf[seen] = 0; while (!strstr(mbuf, "<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'") && |