[asterisk-commits] junky: branch group/ast_log-channelize r53148 -
/team/group/ast_log-channeliz...
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Sun Feb 4 20:52:54 MST 2007
Author: junky
Date: Sun Feb 4 21:52:53 2007
New Revision: 53148
URL: http://svn.digium.com/view/asterisk?view=rev&rev=53148
Log:
test the new branch for CLI filtering
http://bugs.digium.com/view.php?id=8849
Modified:
team/group/ast_log-channelize/channels/chan_sip.c
Modified: team/group/ast_log-channelize/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/group/ast_log-channelize/channels/chan_sip.c?view=diff&rev=53148&r1=53147&r2=53148
==============================================================================
--- team/group/ast_log-channelize/channels/chan_sip.c (original)
+++ team/group/ast_log-channelize/channels/chan_sip.c Sun Feb 4 21:52:53 2007
@@ -11458,13 +11458,13 @@
int i, number, start = 0;
if (ast_strlen_zero(data)) {
- ast_log(NULL, LOG_WARNING, "This function requires a header name.\n");
+ ast_log(chan, LOG_WARNING, "This function requires a header name.\n");
return -1;
}
ast_channel_lock(chan);
if (chan->tech != &sip_tech && chan->tech != &sip_tech_info) {
- ast_log(NULL, LOG_WARNING, "This function can only be used on SIP channels.\n");
+ ast_log(chan, LOG_WARNING, "This function can only be used on SIP channels.\n");
ast_channel_unlock(chan);
return -1;
}
More information about the asterisk-commits
mailing list