From 08d9f46aae69e942a5db9a20463c27ac3c0ebbb8 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 31 Oct 2007 14:26:26 +0000 Subject: Make it build/run on Linux. --- client.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'client.c') diff --git a/client.c b/client.c index c55ff0f8..708de7fd 100644 --- a/client.c +++ b/client.c @@ -1,4 +1,4 @@ -/* $Id: client.c,v 1.18 2007-10-24 11:42:02 nicm Exp $ */ +/* $Id: client.c,v 1.19 2007-10-31 14:26:26 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -137,7 +137,9 @@ client_main(struct client_ctx *cctx) int timeout; logfile("client"); +#ifndef NO_SETPROCTITLE setproctitle("client"); +#endif siginit(); if ((cctx->loc_fd = local_init(&cctx->loc_in, &cctx->loc_out)) == -1) -- cgit