changing a debug string to output the correct param number

resetting error code if caller does not have an eventQ.  Temp hack.
This commit is contained in:
dougt%netscape.com 1999-09-01 20:04:22 +00:00
Родитель b18c292aed
Коммит 38ba384b59
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -301,7 +301,7 @@ nsProxyObject::AutoProxyParameterList(PRUint32 methodIndex, nsXPTMethodInfo *met
printf("**************************************************\n");
printf("xpcom-proxy: could not invoke method: %s::%s().\n", interfaceName, methodInfo->GetName());
printf(" could not find an IID for a parameter: %d\n", (paramInfo.type.type.interface - 1) );
printf(" could not find an IID for a parameter: %d\n", (i) );
printf("**************************************************\n");
nsAllocator::Free((void*)interfaceName);
@ -334,6 +334,7 @@ nsProxyObject::AutoProxyParameterList(PRUint32 methodIndex, nsXPTMethodInfo *met
{
// the caller does not have an eventQ of their own. bad.
eventQ = GetQueue();
rv = NS_OK; // todo: remove!
#ifdef DEBUG
printf("**************************************************\n");
printf("xpcom-proxy: Caller does not have an EventQ\n");