Skip to content

Commit aa9ca06

Browse files
committed
sync
1 parent 64c66ab commit aa9ca06

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

src/imageinfo.c

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ most of the jobs above are pushed down into vips8 now ... except for
8585
#define DEBUG
8686
#define DEBUG_MAKE
8787
#define DEBUG_RGB
88-
#define DEBUG_CHECK
8988
#define DEBUG_OPEN
89+
#define DEBUG_CHECK
9090
*/
9191

9292
static iContainerClass *imageinfogroup_parent_class = NULL;
@@ -901,13 +901,15 @@ imageinfo_open_image_input( const char *filename, ImageinfoOpen *open )
901901
gboolean
902902
imageinfo_is_from_file( Imageinfo *imageinfo )
903903
{
904-
return( IOBJECT( imageinfo )->name && imageinfo->from_file );
904+
return( IOBJECT( imageinfo )->name &&
905+
imageinfo->from_file );
905906
}
906907

907908
static gint
908909
imageinfo_attach_check_cb( Imageinfo *imageinfo )
909910
{
910-
if( imageinfo_is_from_file( imageinfo ) && imageinfo->check_tid ) {
911+
if( imageinfo_is_from_file( imageinfo ) &&
912+
imageinfo->check_tid ) {
911913
struct stat buf;
912914

913915
if( !stat( IOBJECT( imageinfo )->name, &buf ) &&
@@ -925,10 +927,11 @@ imageinfo_attach_check_cb( Imageinfo *imageinfo )
925927
static void
926928
imageinfo_attach_check( Imageinfo *imageinfo )
927929
{
928-
if( imageinfo_is_from_file( imageinfo ) && !imageinfo->check_tid ) {
930+
if( imageinfo_is_from_file( imageinfo ) &&
931+
!imageinfo->check_tid ) {
929932
struct stat buf;
930933

931-
/* Need to be able to state to be able to track a file.
934+
/* Need to be able to stat() to be able to track a file.
932935
*/
933936
if( stat( IOBJECT( imageinfo )->name, &buf ) )
934937
return;

0 commit comments

Comments
 (0)