Skip to content

Commit 4ad50af

Browse files
committed
- CS
1 parent 31e35c2 commit 4ad50af

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

phpdbg_prompt.c

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ void phpdbg_init(char *init_file, size_t init_file_len, zend_bool use_default TS
153153
}
154154
goto next_line;
155155
}
156-
156+
157157
{
158158
phpdbg_input_t *input = phpdbg_read_input(cmd TSRMLS_CC);
159159
switch (phpdbg_do_cmd(phpdbg_prompt_commands, input TSRMLS_CC)) {
@@ -164,7 +164,7 @@ void phpdbg_init(char *init_file, size_t init_file_len, zend_bool use_default TS
164164
}
165165
phpdbg_destroy_input(&input TSRMLS_CC);
166166
}
167-
167+
168168
}
169169
next_line:
170170
line++;
@@ -920,13 +920,13 @@ static PHPDBG_COMMAND(list) /* {{{ */
920920
static inline int phpdbg_call_register(phpdbg_input_t *input TSRMLS_DC) /* {{{ */
921921
{
922922
phpdbg_input_t *function = input->argv[0];
923-
923+
924924
if (zend_hash_exists(
925925
&PHPDBG_G(registered), function->string, function->length+1)) {
926-
926+
927927
zval fname, *fretval;
928928
zend_fcall_info fci;
929-
929+
930930
ZVAL_STRINGL(&fname, function->string, function->length, 1);
931931

932932
fci.size = sizeof(fci);
@@ -936,24 +936,24 @@ static inline int phpdbg_call_register(phpdbg_input_t *input TSRMLS_DC) /* {{{ *
936936
fci.object_ptr = NULL;
937937
fci.retval_ptr_ptr = &fretval;
938938
fci.no_separation = 1;
939-
939+
940940
if (input->argc > 1) {
941941
int arg;
942942
zval ***params;
943943
zval *zparam;
944-
944+
945945
fci.param_count = (input->argc > 1) ? (input->argc-1) : 0;
946946
fci.params = (zval***) emalloc(fci.param_count * sizeof(zval**));
947-
947+
948948
params = fci.params;
949-
949+
950950
for (arg = 1; arg <= (input->argc-1); arg++) {
951951
MAKE_STD_ZVAL(zparam);
952952
ZVAL_STRINGL(
953953
zparam,
954954
input->argv[arg]->string,
955955
input->argv[arg]->length, 1);
956-
956+
957957
*params++ = &zparam;
958958
}
959959
} else {
@@ -965,21 +965,21 @@ static inline int phpdbg_call_register(phpdbg_input_t *input TSRMLS_DC) /* {{{ *
965965

966966
if (input->argc > 1) {
967967
int param;
968-
968+
969969
for (param = 0; param < fci.param_count; param++) {
970970
zval_ptr_dtor(fci.params[param]);
971971
}
972972
efree(fci.params);
973973
}
974-
974+
975975
if (fretval) {
976976
zend_print_zval_r(
977977
fretval, 0 TSRMLS_CC);
978978
phpdbg_writeln(EMPTY);
979979
}
980-
980+
981981
zval_dtor(&fname);
982-
982+
983983
return SUCCESS;
984984
}
985985

@@ -990,7 +990,7 @@ int phpdbg_interactive(TSRMLS_D) /* {{{ */
990990
{
991991
int ret = SUCCESS;
992992

993-
phpdbg_input_t* input = phpdbg_read_input(NULL TSRMLS_CC);
993+
phpdbg_input_t *input = phpdbg_read_input(NULL TSRMLS_CC);
994994

995995
if (input && input->length > 0L) {
996996
do {

0 commit comments

Comments
 (0)