From: Wez Furlong Date: Tue, 21 May 2002 20:46:08 +0000 (+0000) Subject: Fix a flag, remove an old comment. X-Git-Tag: RELEASE_0_10~51 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e2b9f0d964205e052769e5e92056318f707f2067;p=php Fix a flag, remove an old comment. --- 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;