mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-06 01:45:11 +00:00
Merged revisions 160208 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r160208 | tilghman | 2008-12-01 18:37:21 -0600 (Mon, 01 Dec 2008) | 10 lines Merged revisions 160207 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r160207 | tilghman | 2008-12-01 18:25:16 -0600 (Mon, 01 Dec 2008) | 3 lines Ensure that Asterisk builds with --enable-dev-mode, even on the latest gcc and glibc. ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160228 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2524,7 +2524,9 @@ static int retrieve_file(char *dir, int msgnum)
|
||||
}
|
||||
}
|
||||
}
|
||||
truncate(full_fn, fdlen);
|
||||
if (truncate(full_fn, fdlen) < 0) {
|
||||
ast_log(LOG_WARNING, "Unable to truncate '%s': %s\n", full_fn, strerror(errno));
|
||||
}
|
||||
}
|
||||
} else {
|
||||
SQLLEN ind;
|
||||
|
||||
Reference in New Issue
Block a user