From 08d9f46aae69e942a5db9a20463c27ac3c0ebbb8 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 31 Oct 2007 14:26:26 +0000 Subject: Make it build/run on Linux. --- server.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'server.c') 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 @@ -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); -- cgit