RE: [PHP-DEV] cvs: /php3/functions gd.c

From: Date: Mon, 01 May 2000 22:33:50 +0000
Subject: RE: [PHP-DEV] cvs: /php3/functions gd.c
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-18330@lists.php.net to get a copy of this message
> - if (npoints > PolyMaxPoints) { > - php3_error(E_WARNING, "maximum %d points", PolyMaxPoints); > + points = (gdPointPtr) emalloc(npoints * sizeof(gdPoint)); > + if (points == NULL) { > + php_error(E_WARNING, "ImagePolygon: Memory That should be php3_error, not php_error, right? It looks like php_ftp.c gets around this with a define (#define php_error php3_error). Leon

« previous php.dev (#18330) next »