[asterisk-commits] branch 1.2 r14704 - /branches/1.2/image.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri Mar 24 07:48:12 MST 2006
Author: russell
Date: Fri Mar 24 08:48:11 2006
New Revision: 14704
URL: http://svn.digium.com/view/asterisk?rev=14704&view=rev
Log:
use the correct variable in an error message (issue #6791)
Modified:
branches/1.2/image.c
Modified: branches/1.2/image.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/image.c?rev=14704&r1=14703&r2=14704&view=diff
==============================================================================
--- branches/1.2/image.c (original)
+++ branches/1.2/image.c Fri Mar 24 08:48:11 2006
@@ -158,7 +158,7 @@
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));
More information about the asterisk-commits
mailing list