summaryrefslogtreecommitdiffstats
path: root/server.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-10-04 21:21:48 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-10-04 21:21:48 +0000
commit5a3b92c2dfd9fbcf8bda10742cea1fb47927536d (patch)
tree254d6651fbcc5d57a46ebbd066aed77ade2a438f /server.c
parent4add09eab7c263ea57e5940c350c780e883813b9 (diff)
-d option to attach. Also fix CC in Makefile and make it build with DEBUG again.
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 416f9fe1..e4b63500 100644
--- a/server.c
+++ b/server.c
@@ -1,4 +1,4 @@
-/* $Id: server.c,v 1.25 2007-10-04 20:01:10 nicm Exp $ */
+/* $Id: server.c,v 1.26 2007-10-04 21:21:48 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -74,7 +74,9 @@ server_start(char *path)
return (0);
}
+#ifdef DEBUG
xmalloc_clear();
+#endif
logfile("server");
setproctitle("server (%s)", path);