sd2.c : Improve logging of errors in resource fork parser.

This commit is contained in:
Erik de Castro Lopo 2006-02-11 05:15:48 +00:00
parent 3d271869d0
commit 4f9abf8010
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/sd2.c
Improve logging of errors in resource fork parser.
2006-01-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* Win32/Makefile.msvc

View File

@ -440,7 +440,7 @@ sd2_parse_rsrc_fork (SF_PRIVATE *psf)
rsrc.data_offset, rsrc.map_offset, rsrc.data_length, rsrc.map_length) ;
if (rsrc.data_offset > rsrc.rsrc_len)
{ psf_log_printf (psf, "Error : rsrc.data_offset > len\n") ;
{ psf_log_printf (psf, "Error : rsrc.data_offset (%d, 0x%x) > len\n", rsrc.data_offset, rsrc.data_offset) ;
error = SFE_SD2_BAD_DATA_OFFSET ;
goto parse_rsrc_fork_cleanup ;
} ;