summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2010-10-24 19:54:41 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2010-10-24 19:54:41 +0000
commit8f842170239eea1b85821b314f9e5e8d12543c4a (patch)
tree9c0e2143bed11e4c775004c3e60ae722ab7dd7b1 /client.c
parent83447580b181db011325e84a752bee518fee8b5b (diff)
Put setproctitle back under HAVE_SETPROCTITLE.
Diffstat (limited to 'client.c')
-rw-r--r--client.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/client.c b/client.c
index 3625da3f..73c3358c 100644
--- a/client.c
+++ b/client.c
@@ -1,4 +1,4 @@
-/* $Id: client.c,v 1.99 2010-10-24 01:31:08 tcunha Exp $ */
+/* $Id: client.c,v 1.100 2010-10-24 19:54:41 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -157,7 +157,9 @@ client_main(int argc, char **argv, int flags)
}
/* Set process title, log and signals now this is the client. */
+#ifdef HAVE_SETPROCTITLE
setproctitle("client (%s)", socket_path);
+#endif
logfile("client");
/* Create imsg. */