[asterisk-commits] tilghman: branch 1.2 r63565 -
/branches/1.2/apps/app_directory.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed May 9 07:48:07 MST 2007
Author: tilghman
Date: Wed May 9 09:48:06 2007
New Revision: 63565
URL: http://svn.digium.com/view/asterisk?view=rev&rev=63565
Log:
Replicate fix from 51158 (app_voicemail) to app_directory (Issue 9224)
Modified:
branches/1.2/apps/app_directory.c
Modified: branches/1.2/apps/app_directory.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_directory.c?view=diff&rev=63565&r1=63564&r2=63565
==============================================================================
--- branches/1.2/apps/app_directory.c (original)
+++ branches/1.2/apps/app_directory.c Wed May 9 09:48:06 2007
@@ -97,7 +97,7 @@
void *fdm = MAP_FAILED;
SQLHSTMT stmt;
char sql[256];
- char fmt[80]="";
+ char fmt[80]="", empty[10] = "";
char *c;
SQLLEN colsize;
char full_fn[256];
@@ -148,7 +148,7 @@
break;
}
- res = SQLGetData(stmt, 1, SQL_BINARY, NULL, 0, &colsize);
+ res = SQLGetData(stmt, 1, SQL_BINARY, empty, 0, &colsize);
fdlen = colsize;
if (fd > -1) {
char tmp[1]="";
More information about the asterisk-commits
mailing list