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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user