diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-10 01:30:38 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-10 01:30:38 +0000 |
commit | fb6c8ecae60c94f99201195bf876e44ba6c7fd1a (patch) | |
tree | 7b0edb8a5fff5c28d2a6aae5d51b5ed4de9d3cd3 /server.c | |
parent | 3ed5aa3e72bf0e720f1ea35159a1d15b1f02e0ff (diff) | |
download | rtmux-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.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |