Skip to content

Commit

Permalink
Separate COM::__construct()s $server_name array
Browse files Browse the repository at this point in the history
This may otherwise be modified.
  • Loading branch information
cmb69 committed Aug 26, 2020
1 parent 5ff15e2 commit 75ac3f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/com_dotnet/com_com.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ PHP_FUNCTION(com_create_instance)
&module_name, &module_name_len, &server_name, &server_name_len,
&cp, &typelib_name, &typelib_name_len) &&
FAILURE == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET,
ZEND_NUM_ARGS(), "sa|ls",
ZEND_NUM_ARGS(), "sa/|ls",
&module_name, &module_name_len, &server_params, &cp,
&typelib_name, &typelib_name_len)) {

Expand Down

0 comments on commit 75ac3f1

Please sign in to comment.