[svn-commits] tilghman: branch 1.6.1 r250914 - in /branches/1.6.1: ./ apps/app_voicemail.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Thu Mar 4 22:42:20 CST 2010
Author: tilghman
Date: Thu Mar 4 22:42:16 2010
New Revision: 250914
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=250914
Log:
Merged revisions 250913 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r250913 | tilghman | 2010-03-04 22:37:36 -0600 (Thu, 04 Mar 2010) | 7 lines
Missing quote in ODBC query.
(closes issue #16953)
Reported by: elguero
Patches:
app_voicemail-odbc-syntax-fix.diff uploaded by elguero (license 37)
........
Modified:
branches/1.6.1/ (props changed)
branches/1.6.1/apps/app_voicemail.c
Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.1/apps/app_voicemail.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.1/apps/app_voicemail.c?view=diff&rev=250914&r1=250913&r2=250914
==============================================================================
--- branches/1.6.1/apps/app_voicemail.c (original)
+++ branches/1.6.1/apps/app_voicemail.c Thu Mar 4 22:42:16 2010
@@ -4686,7 +4686,7 @@
obj = ast_odbc_request_obj(odbc_database, 0);
if (obj) {
if (!strcmp(folder, "INBOX")) {
- snprintf(sql, sizeof(sql), "SELECT COUNT(*) FROM %s WHERE dir = '%s%s/%s/INBOX' OR dir = '%s%s/%s/Urgent", odbc_table, VM_SPOOL_DIR, context, mailbox, VM_SPOOL_DIR, context, mailbox);
+ snprintf(sql, sizeof(sql), "SELECT COUNT(*) FROM %s WHERE dir = '%s%s/%s/INBOX' OR dir = '%s%s/%s/Urgent'", odbc_table, VM_SPOOL_DIR, context, mailbox, VM_SPOOL_DIR, context, mailbox);
} else {
snprintf(sql, sizeof(sql), "SELECT COUNT(*) FROM %s WHERE dir = '%s%s/%s/%s'", odbc_table, VM_SPOOL_DIR, context, mailbox, folder);
}
More information about the svn-commits
mailing list