Skip to content

Commit 6e251a1

Browse files
committed
change 0/1 to false/true
1 parent ea1b5ec commit 6e251a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Zend/zend_max_execution_timer.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ ZEND_API void zend_max_execution_timer_init(void) /* {{{ */
6464
# endif
6565

6666
sigaction(sev.sigev_signo, NULL, &EG(oldact));
67-
is_handler_set = 1;
67+
is_handler_set = true;
6868
}
6969
/* }}} */
7070

@@ -119,7 +119,7 @@ void zend_max_execution_timer_shutdown(void) /* {{{ */
119119
if(sigaction(SIGRTMIN, &ign_sigrtmin, &prev) < 0) {
120120
zend_strerror_noreturn(E_ERROR, errno, "Could not clear pending timer signal");
121121
}
122-
is_handler_set = 0;
122+
is_handler_set = false;
123123
}
124124
/* }}}} */
125125

0 commit comments

Comments
 (0)