From e2b9f0d964205e052769e5e92056318f707f2067 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Tue, 21 May 2002 20:46:08 +0000 Subject: [PATCH] Fix a flag, remove an old comment. --- ext/com/COM.c | 3 +-- ext/rpc/com/com_wrapper.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/ext/com/COM.c b/ext/com/COM.c index 01517a82bd..f75063cfa6 100644 --- a/ext/com/COM.c +++ b/ext/com/COM.c @@ -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; diff --git a/ext/rpc/com/com_wrapper.c b/ext/rpc/com/com_wrapper.c index 01517a82bd..f75063cfa6 100644 --- a/ext/rpc/com/com_wrapper.c +++ b/ext/rpc/com/com_wrapper.c @@ -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; -- 2.40.0