From 56b21b46834f42b6d1dd4c1d1dd0c4aa883d56aa Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Wed, 30 Nov 2011 23:38:34 +0000 Subject: Remove the few places where we try to ast_verbose() without a newline. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@346655 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/tcptls.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main/tcptls.c') diff --git a/main/tcptls.c b/main/tcptls.c index ae30e95e1..8210839c0 100644 --- a/main/tcptls.c +++ b/main/tcptls.c @@ -359,7 +359,7 @@ static int __ssl_setup(struct ast_tls_config *cfg, int client) if (SSL_CTX_use_certificate_file(cfg->ssl_ctx, cfg->certfile, SSL_FILETYPE_PEM) == 0) { if (!client) { /* Clients don't need a certificate, but if its setup we can use it */ - ast_verb(0, "SSL error loading cert file. <%s>", cfg->certfile); + ast_verb(0, "SSL error loading cert file. <%s>\n", cfg->certfile); sleep(2); cfg->enabled = 0; return 0; @@ -368,7 +368,7 @@ static int __ssl_setup(struct ast_tls_config *cfg, int client) if ((SSL_CTX_use_PrivateKey_file(cfg->ssl_ctx, tmpprivate, SSL_FILETYPE_PEM) == 0) || (SSL_CTX_check_private_key(cfg->ssl_ctx) == 0 )) { if (!client) { /* Clients don't need a private key, but if its setup we can use it */ - ast_verb(0, "SSL error loading private key file. <%s>", tmpprivate); + ast_verb(0, "SSL error loading private key file. <%s>\n", tmpprivate); sleep(2); cfg->enabled = 0; return 0; @@ -378,7 +378,7 @@ static int __ssl_setup(struct ast_tls_config *cfg, int client) if (!ast_strlen_zero(cfg->cipher)) { if (SSL_CTX_set_cipher_list(cfg->ssl_ctx, cfg->cipher) == 0 ) { if (!client) { - ast_verb(0, "SSL cipher error <%s>", cfg->cipher); + ast_verb(0, "SSL cipher error <%s>\n", cfg->cipher); sleep(2); cfg->enabled = 0; return 0; -- cgit v1.2.3