diff options
Diffstat (limited to 'pbx/pbx_spool.c')
-rw-r--r-- | pbx/pbx_spool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx/pbx_spool.c b/pbx/pbx_spool.c index e176b95c4..43bac620e 100644 --- a/pbx/pbx_spool.c +++ b/pbx/pbx_spool.c @@ -486,7 +486,7 @@ static void queue_file(const char *filename, time_t when) time_t now = time(NULL); if (filename[0] != '/') { - char *fn = alloca(strlen(qdir) + strlen(filename) + 2); + char *fn = ast_alloca(strlen(qdir) + strlen(filename) + 2); sprintf(fn, "%s/%s", qdir, filename); /* SAFE */ filename = fn; } |