mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
Version 0.1.10 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@376 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
2
image.c
2
image.c
@@ -114,7 +114,7 @@ struct ast_frame *ast_read_image(char *filename, char *preflang, int format)
|
||||
i = list;
|
||||
while(!found && i) {
|
||||
if (i->format & format) {
|
||||
strncpy(tmp, i->exts, sizeof(tmp));
|
||||
strncpy(tmp, i->exts, sizeof(tmp)-1);
|
||||
e = strtok(tmp, "|");
|
||||
while(e) {
|
||||
make_filename(buf, sizeof(buf), filename, preflang, e);
|
||||
|
Reference in New Issue
Block a user