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 <[EMAIL PROTECTED]>
  
  
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 <[EMAIL PROTECTED]>                           |
    +----------------------------------------------------------------------+
  */
-/* $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);



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to