aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-11-03 21:04:25 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-11-03 21:04:25 +0000
commit5d99b3bc0f40680b8bab12e2460cc6c88604d7ad (patch)
tree49f8246c34b07285587895278d52de8f8b4ae6d0 /funcs
parent3a5d7c43494d6c863f94f8c8422fc89d9e16c6c2 (diff)
Recorded merge of revisions 154023 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r154023 | tilghman | 2008-11-03 15:01:30 -0600 (Mon, 03 Nov 2008) | 4 lines Should have passed the string pointer, not the ast_str structure. (closes issue #13830) Reported by: Marquis ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@154024 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-rw-r--r--funcs/func_odbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/funcs/func_odbc.c b/funcs/func_odbc.c
index 6ae3eb3a1..d25a7e93c 100644
--- a/funcs/func_odbc.c
+++ b/funcs/func_odbc.c
@@ -221,7 +221,7 @@ static int acf_odbc_write(struct ast_channel *chan, const char *cmd, char *s, co
if (!ast_strlen_zero(query->writehandle[dsn])) {
obj = ast_odbc_request_obj(query->writehandle[dsn], 0);
if (obj)
- stmt = ast_odbc_direct_execute(obj, generic_execute, buf);
+ stmt = ast_odbc_direct_execute(obj, generic_execute, buf->str);
}
if (stmt)
break;