cvs: php4 /ext/com COM.c
| From: | Wez Furlong | Date: | Thu, 31 Oct 2002 08:23:56 +0000 |
| Subject: | cvs: php4 /ext/com COM.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-15670@lists.php.net to get a copy of this message | ||
wez Thu Oct 31 03:23:56 2002 EDT
Modified files:
/php4/ext/com COM.c
Log:
Correct a copy-n-paste bug. Spotted by Michael Sisolak <msisolak@yahoo.com>
Index: php4/ext/com/COM.c
diff -u php4/ext/com/COM.c:1.88 php4/ext/com/COM.c:1.89
--- php4/ext/com/COM.c:1.88 Thu Oct 17 12:21:00 2002
+++ php4/ext/com/COM.c Thu Oct 31 03:23:55 2002
@@ -18,7 +18,7 @@
| Wez Furlong <wez@thebrainroom.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: COM.c,v 1.88 2002/10/17 16:21:00 phanto Exp $ */
+/* $Id: COM.c,v 1.89 2002/10/31 08:23:55 wez Exp $ */
/*
* This module implements support for COM components that support the IDispatch
* interface. Both local (COM) and remote (DCOM) components can be accessed.
@@ -1710,7 +1710,7 @@
int arg_count = ZEND_NUM_ARGS();
VARIANT *var_result;
- if (arg_count<3) {
+ if (arg_count < 2) {
ZEND_WRONG_PARAM_COUNT();
}
arguments = (zval **) emalloc(sizeof(pval *)*arg_count);