Skip to content

Commit 1986088

Browse files
authored
exif: change usage of php_error_docref1() to php_error_docref() (#22747)
As arguments to functions are now handled globally via an INI setting.
1 parent 7f49606 commit 1986088

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ext/exif/exif.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4938,7 +4938,7 @@ PHP_FUNCTION(exif_read_data)
49384938
exif_discard_imageinfo(&ImageInfo);
49394939

49404940
#ifdef EXIF_DEBUG
4941-
php_error_docref1(NULL, (Z_TYPE_P(stream) == IS_RESOURCE ? "<stream>" : Z_STRVAL_P(stream)), E_NOTICE, "Done");
4941+
php_error_docref(NULL, E_NOTICE, "Done");
49424942
#endif
49434943
}
49444944
/* }}} */
@@ -5026,7 +5026,7 @@ PHP_FUNCTION(exif_thumbnail)
50265026
exif_discard_imageinfo(&ImageInfo);
50275027

50285028
#ifdef EXIF_DEBUG
5029-
php_error_docref1(NULL, (Z_TYPE_P(stream) == IS_RESOURCE ? "<stream>" : Z_STRVAL_P(stream)), E_NOTICE, "Done");
5029+
php_error_docref(NULL, E_NOTICE, "Done");
50305030
#endif
50315031
}
50325032
/* }}} */

0 commit comments

Comments
 (0)