cvs: php4 /ext/ncurses ncurses_functions.c
| From: | Georg Richter | Date: | Fri, 06 Jun 2003 19:02:31 +0000 |
| Subject: | cvs: php4 /ext/ncurses ncurses_functions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-21575@lists.php.net to get a copy of this message | ||
georg Fri Jun 6 15:02:31 2003 EDT
Modified files:
/php4/ext/ncurses ncurses_functions.c
Log:
fixed bug #24060
Index: php4/ext/ncurses/ncurses_functions.c
diff -u php4/ext/ncurses/ncurses_functions.c:1.38 php4/ext/ncurses/ncurses_functions.c:1.39
--- php4/ext/ncurses/ncurses_functions.c:1.38 Mon Mar 17 08:04:08 2003
+++ php4/ext/ncurses/ncurses_functions.c Fri Jun 6 15:02:30 2003
@@ -2235,15 +2235,13 @@
PHP_FUNCTION(ncurses_del_panel)
{
zval *handle;
- PANEL **panel;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &handle) == FAILURE) {
return;
}
+ zend_list_delete(Z_RESVAL_PP(handle));
- FETCH_PANEL(panel, &handle);
-
- RETURN_LONG(del_panel(*panel));
+ RETURN_TRUE;
}
/* }}} */