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: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@154024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.1
Tilghman Lesher 18 years ago
parent 88efbd4beb
commit 955b537dfe

@ -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;

Loading…
Cancel
Save