From 677ed9a31a8b81fd24229f33a4c9b3d2ed9492dc Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Fri, 24 Mar 2006 14:48:11 +0000 Subject: [PATCH] use the correct variable in an error message (issue #6791) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@14704 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image.c b/image.c index 894e6605b0..325b22c355 100644 --- a/image.c +++ b/image.c @@ -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));