summaryrefslogtreecommitdiff
path: root/ext/com/COM.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-05-21 20:46:08 +0000
committerWez Furlong <wez@php.net>2002-05-21 20:46:08 +0000
commite2b9f0d964205e052769e5e92056318f707f2067 (patch)
tree58f6e404f5c3733fcfdd107c063ef1a5e9efa7e5 /ext/com/COM.c
parente04d6ca9f7b0e553b1e978b31f0325ed048d5ea2 (diff)
downloadphp-git-e2b9f0d964205e052769e5e92056318f707f2067.tar.gz
Fix a flag, remove an old comment.
Diffstat (limited to 'ext/com/COM.c')
-rw-r--r--ext/com/COM.c3
1 files changed, 1 insertions, 2 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;