added inline utility version of IPC_SendMsg that takes a client ID instead

of an ipcClient pointer.


git-svn-id: svn://10.0.0.236/trunk@133179 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
darin%netscape.com
2002-11-06 19:56:30 +00:00
parent 785aeaf731
commit 3e356dfc27
2 changed files with 18 additions and 2 deletions

View File

@@ -132,13 +132,13 @@ public:
LOG(("got FORWARD\n"));
ipcMessageCast<ipcmMessageForward> msg(rawMsg);
ipcClient *dest = IPC_GetClientByID(msg->DestClientID());
PRUint32 destID = msg->DestClientID();
ipcMessage *newMsg = new ipcMessage();
newMsg->Init(msg->InnerTarget(),
msg->InnerData(),
msg->InnerDataLen());
IPC_SendMsg(dest, newMsg);
IPC_SendMsg(destID, newMsg);
}
//