diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-31 14:26:26 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-31 14:26:26 +0000 |
commit | 08d9f46aae69e942a5db9a20463c27ac3c0ebbb8 (patch) | |
tree | 9eb92bf6763c7f24c0c1a4003b39f650f60b33d6 /server.c | |
parent | 48ad0431fb46871cb4a045b275c36ff524cc0fa0 (diff) |
Make it build/run on Linux.
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |