Merged revisions 59284 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r59284 | tilghman | 2007-03-27 18:37:31 -0500 (Tue, 27 Mar 2007) | 10 lines

Merged revisions 59283 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r59283 | tilghman | 2007-03-27 18:36:49 -0500 (Tue, 27 Mar 2007) | 2 lines

Oops

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59285 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Tilghman Lesher 18 years ago
parent f7178b7bfe
commit 185fc8711d

@ -1442,7 +1442,7 @@ static int store_file(char *dir, char *mailboxuser, char *mailboxcontext, int ms
lseek(fd, 0, SEEK_SET);
printf("Length is %zd\n", fdlen);
fdm = mmap(NULL, fdlen, PROT_READ | PROT_WRITE, MAP_SHARED,fd, 0);
if (fdm != MAP_FAILED) {
if (fdm == MAP_FAILED) {
ast_log(LOG_WARNING, "Memory map failed!\n");
ast_odbc_release_obj(obj);
goto yuck;

Loading…
Cancel
Save