added ipcModuleUtil.h to simplify using the new plug-in API

git-svn-id: svn://10.0.0.236/trunk@133267 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
darin%netscape.com
2002-11-07 05:54:56 +00:00
parent c680f43b1c
commit 2acc29c026
6 changed files with 139 additions and 59 deletions

View File

@@ -135,7 +135,13 @@ struct ipcCommandModule
newMsg->Init(msg->InnerTarget(),
msg->InnerData(),
msg->InnerDataLen());
IPC_SendMsg(destID, newMsg);
ipcClient *dest = IPC_GetClientByID(destID);
if (!dest) {
LOG((" destination client not found!\n"));
return;
}
IPC_SendMsg(dest, newMsg);
}
//