]> granicus.if.org Git - php/commitdiff
- Fix comment again and checking
authorFelipe Pena <felipensp@gmail.com>
Sat, 23 Nov 2013 16:51:19 +0000 (14:51 -0200)
committerFelipe Pena <felipensp@gmail.com>
Sat, 23 Nov 2013 16:51:19 +0000 (14:51 -0200)
phpdbg.c

index e4eff77e44778906b2fffb21527e9769a0aebb25..b252dcadff9b2fcedfe50592e09b9a168a5afa64 100644 (file)
--- a/phpdbg.c
+++ b/phpdbg.c
@@ -446,8 +446,8 @@ static inline void phpdbg_sigint_handler(int signo) /* {{{ */
        TSRMLS_FETCH();
 
        if (EG(in_execution)) {
-               /* we don't want to set signalled while phpdbg is interactive */
-               if (!(PHPDBG_G(flags) & PHPDBG_IS_INTERACTIVE)) {
+               /* we don't want to set signalled while phpdbg is not interactive */
+               if (PHPDBG_G(flags) & PHPDBG_IS_INTERACTIVE) {
                        PHPDBG_G(flags) |= PHPDBG_IS_SIGNALED;
                }
        } else {