AST-2009-005

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@211526 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2009-08-10 19:12:35 +00:00
parent 5f4befcba9
commit 2581eeb8e8
62 changed files with 246 additions and 246 deletions

View File

@@ -169,7 +169,7 @@ static char *acf_strftime(struct ast_channel *chan, char *cmd, char *data, char
epoch = strsep(&format, "|");
timezone = strsep(&format, "|");
if (ast_strlen_zero(epoch) || !sscanf(epoch, "%ld", &epochi)) {
if (ast_strlen_zero(epoch) || !sscanf(epoch, "%30ld", &epochi)) {
struct timeval tv = ast_tvnow();
epochi = tv.tv_sec;
}