cvs: php4(PHP_4_3) /ext/ncurses ncurses_functions.c
| From: | Georg Richter | Date: | Fri, 06 Jun 2003 18:50:46 +0000 |
| Subject: | cvs: php4(PHP_4_3) /ext/ncurses ncurses_functions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-21573@lists.php.net to get a copy of this message | ||
georg Fri Jun 6 14:50:46 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/ncurses ncurses_functions.c
Log:
fixed #24060
Index: php4/ext/ncurses/ncurses_functions.c
diff -u php4/ext/ncurses/ncurses_functions.c:1.26.2.7 php4/ext/ncurses/ncurses_functions.c:1.26.2.8
--- php4/ext/ncurses/ncurses_functions.c:1.26.2.7 Tue Dec 31 11:35:01 2002
+++ php4/ext/ncurses/ncurses_functions.c Fri Jun 6 14:50:46 2003
@@ -2278,14 +2278,13 @@
PHP_FUNCTION(ncurses_del_panel)
{
zval **handle;
- PANEL **panel;
if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &handle) == FAILURE)
WRONG_PARAM_COUNT;
- FETCH_PANEL(panel, handle);
+ zend_list_delete(Z_RESVAL_PP(handle));
- RETURN_LONG(del_panel(*panel));
+ RETURN_TRUE;
}
/* }}} */