summaryrefslogtreecommitdiffstats
path: root/server.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-10-31 14:26:26 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-10-31 14:26:26 +0000
commit08d9f46aae69e942a5db9a20463c27ac3c0ebbb8 (patch)
tree9eb92bf6763c7f24c0c1a4003b39f650f60b33d6 /server.c
parent48ad0431fb46871cb4a045b275c36ff524cc0fa0 (diff)
Make it build/run on Linux.
Diffstat (limited to 'server.c')
-rw-r--r--server.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/server.c b/server.c
index 3a0290b3..a0192a7c 100644
--- a/server.c
+++ b/server.c
@@ -1,4 +1,4 @@
-/* $Id: server.c,v 1.36 2007-10-30 10:59:43 nicm Exp $ */
+/* $Id: server.c,v 1.37 2007-10-31 14:26:26 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -77,7 +77,9 @@ server_start(char *path)
#endif
logfile("server");
+#ifndef NO_SETPROCTITLE
setproctitle("server (%s)", path);
+#endif
log_debug("server started, pid %ld", (long) getpid());
memset(&sa, 0, sizeof sa);