[Freeswitch-svn] [commit] r7091 - freeswitch/trunk/libs/sqlite/src

Freeswitch SVN cypromis at freeswitch.org
Sat Jan 5 05:58:33 EST 2008


Author: cypromis
Date: Sat Jan  5 05:58:33 2008
New Revision: 7091

Modified:
   freeswitch/trunk/libs/sqlite/src/util.c

Log:
typo in zNew = sqliteMallocRaw(n+1); util.c


Modified: freeswitch/trunk/libs/sqlite/src/util.c
==============================================================================
--- freeswitch/trunk/libs/sqlite/src/util.c	(original)
+++ freeswitch/trunk/libs/sqlite/src/util.c	Sat Jan  5 05:58:33 2008
@@ -729,7 +729,7 @@
 char *sqlite3StrNDup(const char *z, int n){
   char *zNew;
   if( z==0 ) return 0;
-  zNew = sqliteMallocRaw(n+1, 1);
+  zNew = sqliteMallocRaw(n+1);
   if( zNew ){
     memcpy(zNew, z, n);
     zNew[n] = 0;



More information about the Freeswitch-svn mailing list