cvs: php-src /ext/cpdf cpdf.c
| From: | Sara Golemon | Date: | Thu, 01 Jul 2004 04:43:30 +0000 |
| Subject: | cvs: php-src /ext/cpdf cpdf.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-27740@lists.php.net to get a copy of this message | ||
pollita Thu Jul 1 00:43:30 2004 EDT
Modified files:
/php-src/ext/cpdf cpdf.c
Log:
That hashtable should never have been an argument....
http://cvs.php.net/diff.php/php-src/ext/cpdf/cpdf.c?r1=1.57&r2=1.58&ty=u
Index: php-src/ext/cpdf/cpdf.c
diff -u php-src/ext/cpdf/cpdf.c:1.57 php-src/ext/cpdf/cpdf.c:1.58
--- php-src/ext/cpdf/cpdf.c:1.57 Mon May 10 18:13:08 2004
+++ php-src/ext/cpdf/cpdf.c Thu Jul 1 00:43:29 2004
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: cpdf.c,v 1.57 2004/05/10 22:13:08 iliaa Exp $ */
+/* $Id: cpdf.c,v 1.58 2004/07/01 04:43:29 pollita Exp $ */
/* cpdflib.h -- C language API definitions for ClibPDF library
* Copyright (C) 1998 FastIO Systems, All Rights Reserved.
*/
@@ -726,7 +726,7 @@
int id, type;
CPDFdoc *pdf;
- if (ZEND_NUM_ARGS() != 4 || zend_get_parameters_ex(ht, 4, &arg1, &arg2, &arg3,
&arg4) == FAILURE) {
+ if (ZEND_NUM_ARGS() != 4 || zend_get_parameters_ex(4, &arg1, &arg2, &arg3, &arg4)
== FAILURE) {
WRONG_PARAM_COUNT;
}