Whitespace and more syncing.

This commit is contained in:
Nicholas Marriott
2009-06-25 16:34:50 +00:00
parent 8df98d1f5b
commit bb459beb03
13 changed files with 27 additions and 57 deletions

View File

@ -1,4 +1,4 @@
/* $Id: server.c,v 1.148 2009-06-25 16:21:32 nicm Exp $ */
/* $Id: server.c,v 1.149 2009-06-25 16:34:50 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -131,7 +131,7 @@ server_client_index(struct client *c)
int
server_start(char *path)
{
int retcode, pair[2], srv_fd;
int pair[2], srv_fd;
char *cause;
#ifdef HAVE_SETPROCTITLE
char rpathbuf[MAXPATHLEN];
@ -152,10 +152,6 @@ server_start(char *path)
}
close(pair[0]);
#ifdef DEBUG
xmalloc_clear();
#endif
/*
* Must daemonise before loading configuration as the PID changes so
* $TMUX would be wrong for sessions created in the config file.
@ -194,11 +190,7 @@ server_start(char *path)
srv_fd = server_create_socket();
server_create_client(pair[1]);
retcode = server_main(srv_fd);
#ifdef DEBUG
xmalloc_report(getpid(), "server");
#endif
exit(retcode);
exit(server_main(srv_fd));
}
/* Create server socket. */