Skip to content

Commit 162c1f7

Browse files
committed
Make php_win32_docref2_from_error stop using docref2
1 parent ff1ac29 commit 162c1f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1202,7 +1202,7 @@ PHPAPI ZEND_COLD void php_win32_docref2_from_error(DWORD error, const char *para
12021202
buf[buf_len - 1] = '\0';
12031203
buf[buf_len - 2] = '\0';
12041204
}
1205-
php_error_docref2(NULL, param1, param2, E_WARNING, "%s (code: %lu)", buf, error);
1205+
php_error_docref(NULL, E_WARNING, "%s (code: %lu) with parameters (%s, %s)", buf, error, param1, param2);
12061206
php_win32_error_msg_free(buf);
12071207
}
12081208
#endif

0 commit comments

Comments
 (0)