Merged revisions 14704 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r14704 | russell | 2006-03-24 09:48:11 -0500 (Fri, 24 Mar 2006) | 2 lines use the correct variable in an error message (issue #6791) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14705 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
e73a60ef7a
commit
e119357cc8
2
image.c
2
image.c
|
@ -153,7 +153,7 @@ struct ast_frame *ast_read_image(char *filename, const char *preflang, int forma
|
|||
lseek(fd, 0, SEEK_SET);
|
||||
f = found->read_image(fd,len);
|
||||
} else
|
||||
ast_log(LOG_WARNING, "%s does not appear to be a %s file\n", buf, i->name);
|
||||
ast_log(LOG_WARNING, "%s does not appear to be a %s file\n", buf, found->name);
|
||||
close(fd);
|
||||
} else
|
||||
ast_log(LOG_WARNING, "Unable to open '%s': %s\n", buf, strerror(errno));
|
||||
|
|
Reference in New Issue