mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-19 03:08:45 +00:00
Remove annoying unconditional debug message from INC/DEC functions.
(closes issue AST-1001) Reported by: Guenther Kelleter ........ Merged revisions 372628 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 372629 from http://svn.asterisk.org/svn/asterisk/branches/10 ........ Merged revisions 372630 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@372631 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -421,8 +421,6 @@ static int crement_function_read(struct ast_channel *chan, const char *cmd,
|
|||||||
modify_orig = 1;
|
modify_orig = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
ast_log(LOG_NOTICE, "The value is now: %d\n", int_value);
|
|
||||||
|
|
||||||
if (snprintf(returnvar, sizeof(returnvar), "%d", int_value) > 0) {
|
if (snprintf(returnvar, sizeof(returnvar), "%d", int_value) > 0) {
|
||||||
pbx_builtin_setvar_helper(chan, data, returnvar);
|
pbx_builtin_setvar_helper(chan, data, returnvar);
|
||||||
if (modify_orig) {
|
if (modify_orig) {
|
||||||
|
Reference in New Issue
Block a user