Re: cvs: php4 /main rfc1867.c
| From: | derick@php.net | Date: | Tue, 23 Apr 2002 05:29:11 +0000 |
| Subject: | Re: cvs: php4 /main rfc1867.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-11333@lists.php.net to get a copy of this message | ||
Hey,
you already did :)
Derick
On Tue, 23 Apr 2002 derick@php.net wrote:
> Hey jani,
>
> can you also MFH this?
>
> Derick
>
> On Tue, 23 Apr 2002, Jani Taskinen wrote:
>
> > sniper Mon Apr 22 20:14:09 2002 EDT
> >
> > Modified files:
> > /php4/main rfc1867.c
> > Log:
> > Changed the error for 'no upload' to E_NOTICE so that it doesn't
> > pollute the logs too much.
> >
> > @- Fixed possible crash bug in HTTP uploads. (Patch: Lucas Schroeder)
> >
> >
> > Index: php4/main/rfc1867.c
> > diff -u php4/main/rfc1867.c:1.97 php4/main/rfc1867.c:1.98
> > --- php4/main/rfc1867.c:1.97 Mon Apr 1 18:02:16 2002
> > +++ php4/main/rfc1867.c Mon Apr 22 20:14:08 2002
> > @@ -16,7 +16,7 @@
> > | Jani Taskinen <sniper@php.net> |
> > +----------------------------------------------------------------------+
> > */
> > -/* $Id: rfc1867.c,v 1.97 2002/04/01 23:02:16 sniper Exp $ */
> > +/* $Id: rfc1867.c,v 1.98 2002/04/23 00:14:08 sniper Exp $ */
> >
> > /*
> > * This product includes software developed by the Apache Group
> > @@ -371,11 +371,12 @@
> > }
> >
> > entry = zend_llist_get_first(&header);
> > - do {
> > + while (entry) {
> > if (!strcasecmp(entry->key, key)) {
> > return entry->value;
> > }
> > - } while ((entry = zend_llist_get_next(&header)));
> > + entry = zend_llist_get_next(&header);
> > + }
> >
> > return NULL;
> > }
> > @@ -726,7 +727,7 @@
> > cancel_upload = 0;
> >
> > if(strlen(filename) == 0) {
> > - sapi_module.sapi_error(E_WARNING, "No file uploaded");
> > + sapi_module.sapi_error(E_NOTICE, "No file uploaded");
> > cancel_upload = UPLOAD_ERROR_D;
> > }
> >
> >
> >
> >
> > --
> > PHP CVS Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
> -----------------------------------------------------------------------
> Did I help you? Consider a gift:
> http://www.amazon.co.uk/exec/obidos/registry/SLCB276UZU8B
> -----------------------------------------------------------------------
> PHP: Scripting the Web - derick@php.net
> All your branches are belong to me!
> SRM: Script Running Machine - www.vl-srm.net
> -----------------------------------------------------------------------
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
-----------------------------------------------------------------------
Did I help you? Consider a gift:
http://www.amazon.co.uk/exec/obidos/registry/SLCB276UZU8B
-----------------------------------------------------------------------
PHP: Scripting the Web - derick@php.net
All your branches are belong to me!
SRM: Script Running Machine - www.vl-srm.net
-----------------------------------------------------------------------