diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-08 10:39:52 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-08 10:39:52 +0000 |
commit | f92243caa05a93e7def0f78c8de0880fd9b35d49 (patch) | |
tree | 1c3d45dd46624b5c607c0f9f7cfcfdbdd679efad /client.c | |
parent | 35591ecd4eccb96bb1c34909f3f463b09f1db7db (diff) | |
download | rtmux-f92243caa05a93e7def0f78c8de0880fd9b35d49.tar.gz rtmux-f92243caa05a93e7def0f78c8de0880fd9b35d49.tar.bz2 rtmux-f92243caa05a93e7def0f78c8de0880fd9b35d49.zip |
Check for required term capabilities on start.
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,4 +1,4 @@ -/* $Id: client.c,v 1.19 2007-10-31 14:26:26 nicm Exp $ */ +/* $Id: client.c,v 1.20 2007-11-08 10:39:52 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -136,15 +136,15 @@ client_main(struct client_ctx *cctx) char *error; int timeout; + siginit(); + if ((cctx->loc_fd = local_init(&cctx->loc_in, &cctx->loc_out)) == -1) + return (1); + logfile("client"); #ifndef NO_SETPROCTITLE setproctitle("client"); #endif - siginit(); - if ((cctx->loc_fd = local_init(&cctx->loc_in, &cctx->loc_out)) == -1) - return (1); - error = NULL; timeout = INFTIM; while (!sigterm) { |