cvs: php-src /ext/pgsql pgsql.c

From: Date: Thu, 28 Aug 2003 21:06:45 +0000
Subject: cvs: php-src /ext/pgsql pgsql.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-23480@lists.php.net to get a copy of this message
andrey Thu Aug 28 17:06:45 2003 EDT Modified files: /php-src/ext/pgsql pgsql.c Log: this is the right parameter Index: php-src/ext/pgsql/pgsql.c diff -u php-src/ext/pgsql/pgsql.c:1.292 php-src/ext/pgsql/pgsql.c:1.293 --- php-src/ext/pgsql/pgsql.c:1.292 Thu Aug 28 17:00:22 2003 +++ php-src/ext/pgsql/pgsql.c Thu Aug 28 17:06:44 2003 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: pgsql.c,v 1.292 2003/08/28 21:00:22 andrey Exp $ */ +/* $Id: pgsql.c,v 1.293 2003/08/28 21:06:44 andrey Exp $ */ #include <stdlib.h> @@ -2147,7 +2147,7 @@ RETURN_FALSE; } if (Z_LVAL_PP(z_len) < 0) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Buffer size must be larger than 0, but %d was specified", Z_STRLEN_PP(str)); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Buffer size must be larger than 0, but %ld was specified", Z_LVAL_PP(z_len)); RETURN_FALSE; } len = Z_LVAL_PP(z_len);

« previous php.cvs (#23480) next »