[asterisk-commits] trunk r14705 - in /trunk: ./ image.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Mar 24 07:51:16 MST 2006


Author: russell
Date: Fri Mar 24 08:51:15 2006
New Revision: 14705

URL: http://svn.digium.com/view/asterisk?rev=14705&view=rev
Log:
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)

........

Modified:
    trunk/   (props changed)
    trunk/image.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: trunk/image.c
URL: http://svn.digium.com/view/asterisk/trunk/image.c?rev=14705&r1=14704&r2=14705&view=diff
==============================================================================
--- trunk/image.c (original)
+++ trunk/image.c Fri Mar 24 08:51:15 2006
@@ -153,7 +153,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