fix BLOCK_UNTRUSTED after previous commit

This commit is contained in:
John Cupitt 2022-06-11 12:38:43 +01:00
parent bd65ddda66
commit 8bf90ed44e
1 changed files with 1 additions and 2 deletions

View File

@ -1314,8 +1314,7 @@ vips_block_untrusted_set_operation( VipsOperationClass *class, gboolean *state )
g_assert( VIPS_IS_OPERATION_CLASS( class ) );
if( class->flags & VIPS_OPERATION_UNTRUSTED )
vips_operation_block_set( VIPS_OBJECT_CLASS( class )->nickname,
*state );
vips_operation_block_set( VIPS_OBJECT_CLASS( class ), *state );
return( NULL );
}