added startup synchronization for XP_WIN

git-svn-id: svn://10.0.0.236/trunk@133202 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
darin%netscape.com
2002-11-06 22:22:50 +00:00
parent 5bf837c7e7
commit 4e1324cb9d
3 changed files with 52 additions and 3 deletions

View File

@@ -383,8 +383,10 @@ int main(int argc, char **argv)
else
socket_path = argv[1];
if (!InitDaemonDir(socket_path))
if (!InitDaemonDir(socket_path)) {
PR_Close(listenFD);
return 0;
}
addr.local.family = PR_AF_LOCAL;
PL_strncpyz(addr.local.path, socket_path, sizeof(addr.local.path));