aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-27 17:41:40 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-27 17:41:40 +0000
commit6e111b8e30538e48c5525b571cc86040519f6ecb (patch)
treed2f54ff159c1dd20179ecba2188cf02217d3fd36 /main
parentaf81f929742870c3e0bddc31c57360897084e4fe (diff)
Bump up the buffer by 2.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@104665 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/file.c b/main/file.c
index 187209dc6..2645b0bba 100644
--- a/main/file.c
+++ b/main/file.c
@@ -566,7 +566,7 @@ struct ast_filestream *ast_openstream_full(struct ast_channel *chan, const char
}
if (preflang == NULL)
preflang = "";
- buflen = strlen(preflang) + strlen(filename) + 2;
+ buflen = strlen(preflang) + strlen(filename) + 4;
buf = alloca(buflen);
if (buf == NULL)
return NULL;