diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-24 14:48:11 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-24 14:48:11 +0000 |
commit | 51474417f63e0dbb04791e56fdb85ef52cec7a19 (patch) | |
tree | b32514c2b8aa8758646e05e6011166065c2a96cb /image.c | |
parent | e8841df05d6162c8399bc95439740a9d7ef0f9f0 (diff) |
use the correct variable in an error message (issue #6791)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@14704 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'image.c')
-rw-r--r-- | image.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -158,7 +158,7 @@ struct ast_frame *ast_read_image(char *filename, char *preflang, int format) 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)); |