Skip to content

Commit

Permalink
win32_ps_stat_proc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
crispy-computing-machine committed Dec 11, 2022
1 parent 3d715b6 commit 3374afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion win32ps.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ PHP_FUNCTION(win32_ps_stat_proc)
long process = 0;

//if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &process))
ZEND_PARSE_PARAMETERS_START(1, 1)
ZEND_PARSE_PARAMETERS_START(0, 1)
Z_PARAM_OPTIONAL
Z_PARAM_LONG(process)
ZEND_PARSE_PARAMETERS_END();
Expand Down

0 comments on commit 3374afd

Please sign in to comment.