]> granicus.if.org Git - php/commitdiff
Fix a flag, remove an old comment.
authorWez Furlong <wez@php.net>
Tue, 21 May 2002 20:46:08 +0000 (20:46 +0000)
committerWez Furlong <wez@php.net>
Tue, 21 May 2002 20:46:08 +0000 (20:46 +0000)
ext/com/COM.c
ext/rpc/com/com_wrapper.c

index 01517a82bd70d3cadd4169351707e3fcdfcc179c..f75063cfa6ca5fdc2f796b5095d2bd983f9a1f63 100644 (file)
@@ -1189,7 +1189,7 @@ static int process_typeinfo(ITypeInfo *typeinfo, HashTable *id_to_name, int prin
 
                                        if (elem->paramdesc.wParamFlags & PARAMFLAG_FIN)
                                                php_printf("[in]");
-                                       if (elem->paramdesc.wParamFlags & PARAMFLAG_FIN)
+                                       if (elem->paramdesc.wParamFlags & PARAMFLAG_FOUT)
                                                php_printf("[out]");
 
                                        if (elem->tdesc.vt == VT_PTR) {
@@ -1266,7 +1266,6 @@ static ITypeInfo *locate_typeinfo(char *typelibname, comval *obj, char *dispname
 
        if (obj) {
                if (dispname == NULL && sink) {
-                       /* Looking for the default sink interface */
                        IProvideClassInfo2 *pci2;
                        IProvideClassInfo *pci;
 
index 01517a82bd70d3cadd4169351707e3fcdfcc179c..f75063cfa6ca5fdc2f796b5095d2bd983f9a1f63 100644 (file)
@@ -1189,7 +1189,7 @@ static int process_typeinfo(ITypeInfo *typeinfo, HashTable *id_to_name, int prin
 
                                        if (elem->paramdesc.wParamFlags & PARAMFLAG_FIN)
                                                php_printf("[in]");
-                                       if (elem->paramdesc.wParamFlags & PARAMFLAG_FIN)
+                                       if (elem->paramdesc.wParamFlags & PARAMFLAG_FOUT)
                                                php_printf("[out]");
 
                                        if (elem->tdesc.vt == VT_PTR) {
@@ -1266,7 +1266,6 @@ static ITypeInfo *locate_typeinfo(char *typelibname, comval *obj, char *dispname
 
        if (obj) {
                if (dispname == NULL && sink) {
-                       /* Looking for the default sink interface */
                        IProvideClassInfo2 *pci2;
                        IProvideClassInfo *pci;