[asterisk-commits] coreyfarrell: branch 1.8 r415908 - /branches/1.8/channels/sip/sdp_crypto.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 12 12:16:45 CDT 2014


Author: coreyfarrell
Date: Thu Jun 12 12:16:38 2014
New Revision: 415908

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=415908
Log:
chan_sip: DEBUG messages in sdp_crypto.c display despite a DEBUG level of zero

Change debug level for messages in sdp_crypto.c from zero to one.  This
ensures the messages are not displayed when debugging is disabled.  Change
does not apply to 12+ as it was already fixed in those versions.

ASTERISK-23246 #close
Reported by: Rusty Newton
Review: https://reviewboard.asterisk.org/r/3605/

Modified:
    branches/1.8/channels/sip/sdp_crypto.c

Modified: branches/1.8/channels/sip/sdp_crypto.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/sip/sdp_crypto.c?view=diff&rev=415908&r1=415907&r2=415908
==============================================================================
--- branches/1.8/channels/sip/sdp_crypto.c (original)
+++ branches/1.8/channels/sip/sdp_crypto.c Thu Jun 12 12:16:38 2014
@@ -280,7 +280,7 @@
 	}
 
 	if (!p->tag) {
-		ast_log(LOG_DEBUG, "Accepting crypto tag %s\n", tag);
+		ast_debug(1, "Accepting crypto tag %s\n", tag);
 		p->tag = ast_strdup(tag);
 		if (!p->tag) {
 			ast_log(LOG_ERROR, "Could not allocate memory for tag\n");
@@ -310,7 +310,7 @@
 		return -1;
 	}
 
-	ast_log(LOG_DEBUG, "Crypto line: %s", p->a_crypto);
+	ast_debug(1, "Crypto line: %s", p->a_crypto);
 
 	return 0;
 }




More information about the asterisk-commits mailing list