aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'server.c')
-rw-r--r--server.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/server.c b/server.c
index a07fa1fd..4bfa9185 100644
--- a/server.c
+++ b/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD$ */
+/* $Id$ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -26,7 +26,6 @@
#include <errno.h>
#include <event.h>
#include <fcntl.h>
-#include <paths.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
@@ -154,7 +153,9 @@ server_start(int lockfd, char *lockfile)
start_time = time(NULL);
log_debug("socket path %s", socket_path);
+#ifdef HAVE_SETPROCTITLE
setproctitle("server (%s)", socket_path);
+#endif
server_fd = server_create_socket();
server_client_create(pair[1]);