From b314ed621f3669da3081b15eec12b3d80d238817 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Fri, 24 Mar 2006 14:51:15 +0000 Subject: 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: https://origsvn.digium.com/svn/asterisk/trunk@14705 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image.c b/image.c index 3e8e393e3..2e039fcd2 100644 --- a/image.c +++ b/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)); -- cgit v1.2.3