Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6955 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79889 invoked by uid 1010); 10 Jan 2004 15:49:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 79796 invoked from network); 10 Jan 2004 15:49:27 -0000 Received: from unknown (HELO sapo.pt) (212.55.154.24) by pb1.pair.com with SMTP; 10 Jan 2004 15:49:27 -0000 Received: (qmail 7124 invoked by uid 0); 10 Jan 2004 15:45:53 -0000 Received: from unknown (HELO sapo.pt) (10.134.35.152) by relay4 with SMTP; 10 Jan 2004 15:45:53 -0000 Received: (qmail 27422 invoked by uid 0); 10 Jan 2004 15:45:08 -0000 Received: from unknown (HELO pc07653) (nunoplopes@sapo.pt@[81.193.136.58]) (envelope-sender ) by mta2 (qmail-ldap-1.03) with SMTP for ; 10 Jan 2004 15:45:08 -0000 Message-ID: <004d01c3d790$fc05b200$0100a8c0@pc07653> To: "Pierre-Alain Joye" Cc: , References: <008101c3d762$e95c8f30$0100a8c0@pc07653><40001A20.6000508@keliglia.com><001901c3d78f$a153e170$0100a8c0@pc07653> <20040110164045.0f302b2f.paj@pearfr.org> Date: Sat, 10 Jan 2004 15:46:59 -0000 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_004A_01C3D790.FBBE21B0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: [PHP-DEV] Re: patch From: nlopess@php.net ("Nuno Lopes") ------=_NextPart_000_004A_01C3D790.FBBE21B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Sorry... > On Sat, 10 Jan 2004 15:37:17 -0000 > "Nuno Lopes" wrote: > > > Here it is! > > Nice try ;) > > Use .txt attachment (text/*) so it can go through the list. Or provide a > nice little url to it :) > > pierre ------=_NextPart_000_004A_01C3D790.FBBE21B0 Content-Type: text/plain; name="diff.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="diff.txt" Index: main/output.c =================================================================== RCS file: /repository/php-src/main/output.c,v retrieving revision 1.163 diff -u -r1.163 output.c --- main/output.c 8 Jan 2004 08:17:53 -0000 1.163 +++ main/output.c 10 Jan 2004 15:44:40 -0000 @@ -1041,6 +1041,10 @@ Reset(clear) URL rewriter values */ PHP_FUNCTION(output_reset_rewrite_vars) { + if (ZEND_NUM_ARGS() != 0) { + ZEND_WRONG_PARAM_COUNT(); + } + if (php_url_scanner_reset_vars(TSRMLS_C) == SUCCESS) { RETURN_TRUE; } else { ------=_NextPart_000_004A_01C3D790.FBBE21B0--