[asterisk-commits] qwell: branch 1.4 r87340 - in /branches/1.4/funcs: func_cut.c func_realtime.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Oct 29 12:13:04 CDT 2007
Author: qwell
Date: Mon Oct 29 12:13:04 2007
New Revision: 87340
URL: http://svn.digium.com/view/asterisk?view=rev&rev=87340
Log:
Allow some function modules to compile under dev mode.
Issue 11104, patch by andrew.
Modified:
branches/1.4/funcs/func_cut.c
branches/1.4/funcs/func_realtime.c
Modified: branches/1.4/funcs/func_cut.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/funcs/func_cut.c?view=diff&rev=87340&r1=87339&r2=87340
==============================================================================
--- branches/1.4/funcs/func_cut.c (original)
+++ branches/1.4/funcs/func_cut.c Mon Oct 29 12:13:04 2007
@@ -251,7 +251,7 @@
static int acf_cut_exec(struct ast_channel *chan, char *cmd, char *data, char *buf, size_t len)
{
int ret = -1;
- struct ast_module_user *u;
+ struct ast_module_user *u = NULL;
if (chan) {
ast_autoservice_start(chan);
Modified: branches/1.4/funcs/func_realtime.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/funcs/func_realtime.c?view=diff&rev=87340&r1=87339&r2=87340
==============================================================================
--- branches/1.4/funcs/func_realtime.c (original)
+++ branches/1.4/funcs/func_realtime.c Mon Oct 29 12:13:04 2007
@@ -103,7 +103,7 @@
static int function_realtime_write(struct ast_channel *chan, char *cmd, char *data, const char *value)
{
- struct ast_module_user *u;
+ struct ast_module_user *u = NULL;
int res = 0;
AST_DECLARE_APP_ARGS(args,
AST_APP_ARG(family);
More information about the asterisk-commits
mailing list