[asterisk-commits] oej: branch oej/manager-set-function-fail r242316 - /team/oej/manager-set-fun...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jan 22 05:27:28 CST 2010
Author: oej
Date: Fri Jan 22 05:27:25 2010
New Revision: 242316
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=242316
Log:
Revert previous change to API
Modified:
team/oej/manager-set-function-fail/main/pbx.c
Modified: team/oej/manager-set-function-fail/main/pbx.c
URL: http://svnview.digium.com/svn/asterisk/team/oej/manager-set-function-fail/main/pbx.c?view=diff&rev=242316&r1=242315&r2=242316
==============================================================================
--- team/oej/manager-set-function-fail/main/pbx.c (original)
+++ team/oej/manager-set-function-fail/main/pbx.c Fri Jan 22 05:27:25 2010
@@ -5918,7 +5918,8 @@
if (name[strlen(name)-1] == ')') {
char *function = ast_strdupa(name);
- return ast_func_write(chan, function, value);
+ ast_func_write(chan, function, value);
+ return;
}
if (chan) {
@@ -5956,8 +5957,6 @@
ast_channel_unlock(chan);
else
ast_mutex_unlock(&globalslock);
-
- return 0;
}
int pbx_builtin_setvar(struct ast_channel *chan, void *data)
More information about the asterisk-commits
mailing list