BSD fixes, thanks jontow for the use of your box

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7105 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2008-01-06 01:10:37 +00:00
parent b5b7bf1362
commit ab9efea581
4 changed files with 21 additions and 6 deletions

View File

@@ -729,7 +729,7 @@ char *sqlite3StrDup(const char *z){
char *sqlite3StrNDup(const char *z, int n){
char *zNew;
if( z==0 ) return 0;
zNew = sqliteMallocRaw(n+1);
zNew = sqlite3MallocRaw(n+1, 1);
if( zNew ){
memcpy(zNew, z, n);
zNew[n] = 0;