make ipcTransport::Init output app-name.

git-svn-id: svn://10.0.0.236/trunk@132944 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
darin%netscape.com 2002-11-04 22:29:17 +00:00
parent 69c64a53bd
commit 9b8ee9f869
2 changed files with 3 additions and 2 deletions

View File

@ -59,6 +59,7 @@ enum {
IPCM_MSG_TYPE_CLIENT_DEL_TARGET,
IPCM_MSG_TYPE_QUERY_CLIENT_BY_NAME,
IPCM_MSG_TYPE_QUERY_CLIENT_INFO,
// IPCM_MSG_TYPE_QUERY_MODULE, // check if module exists
IPCM_MSG_TYPE_FORWARD,
IPCM_MSG_TYPE_UNKNOWN // unknown message type
};

View File

@ -73,12 +73,12 @@ ipcTransport::Init(const nsACString &appName,
const nsACString &socketPath,
ipcTransportObserver *obs)
{
LOG(("ipcTransport::Init\n"));
mAppName = appName;
mSocketPath = socketPath;
mObserver = obs;
LOG(("ipcTransport::Init [app-name=%s]\n", mAppName.get()));
// XXX service should be the observer
nsCOMPtr<nsIObserverService> observ(do_GetService("@mozilla.org/observer-service;1"));
if (observ) {