Re: Patch for #21309 - memory + php_error_docref.
| From: | Derick Rethans | Date: | Fri, 03 Jan 2003 09:15:22 +0000 |
| Subject: | Re: Patch for #21309 - memory + php_error_docref. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-93063@lists.php.net to get a copy of this message | ||
On Fri, 3 Jan 2003 nicos@php.net wrote:
> Hello,
>
> Even if this bug was assigned to sesser, this is a patch that fix the
> memory managment and that removes perror and replace it by
> php_error_docref().
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "ftp_open: cannot get socket
name");
No need to repeat the ftp_open, this is php_error_docref's
task:
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot get socket name");
>
> It's also online if the mailing is denying it:
> http://nicos.worldakt.com/ftp_c.patch.
Please don't mix code and whitespace changes, it's much harder to see
the changes now.
Derick
--
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
PHP Magazine - PHP Magazine for Professionals http://php-mag.net/
-------------------------------------------------------------------------