aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-01-10 01:30:38 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-01-10 01:30:38 +0000
commitfb6c8ecae60c94f99201195bf876e44ba6c7fd1a (patch)
tree7b0edb8a5fff5c28d2a6aae5d51b5ed4de9d3cd3 /server.c
parent3ed5aa3e72bf0e720f1ea35159a1d15b1f02e0ff (diff)
downloadrtmux-fb6c8ecae60c94f99201195bf876e44ba6c7fd1a.tar.gz
rtmux-fb6c8ecae60c94f99201195bf876e44ba6c7fd1a.tar.bz2
rtmux-fb6c8ecae60c94f99201195bf876e44ba6c7fd1a.zip
New command, server-info, to show server info + terminal details. Also tweak term stuff a bit.
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 89b2045b..d9eadcab 100644
--- a/server.c
+++ b/server.c
@@ -1,4 +1,4 @@
-/* $Id: server.c,v 1.89 2009-01-07 22:57:03 nicm Exp $ */
+/* $Id: server.c,v 1.90 2009-01-10 01:30:38 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -118,6 +118,8 @@ server_start(const char *path)
setproctitle("server (%s)", path);
#endif
log_debug("server started, pid %ld", (long) getpid());
+ start_time = time(NULL);
+ socket_path = path;
memset(&sa, 0, sizeof sa);
sa.sun_family = AF_UNIX;