aboutsummaryrefslogtreecommitdiff
path: root/cfg.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-08-24 16:24:18 +0000
committerTiago Cunha <tcunha@gmx.com>2009-08-24 16:24:18 +0000
commit2e2e762743417ae7a0c32a4b40909ecdf3bb3560 (patch)
tree5bb1acfe9bc3008ee8197c6daa12e8e2ce88658e /cfg.c
parent266c13df18bb576bbda4a417c429a66a8929c6af (diff)
downloadrtmux-2e2e762743417ae7a0c32a4b40909ecdf3bb3560.tar.gz
rtmux-2e2e762743417ae7a0c32a4b40909ecdf3bb3560.tar.bz2
rtmux-2e2e762743417ae7a0c32a4b40909ecdf3bb3560.zip
Sync OpenBSD patchset 289:
The cursession member in struct cmd_ctx is always either curclient->session or NULL when curclient is also NULL, so just eliminate it.
Diffstat (limited to 'cfg.c')
-rw-r--r--cfg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cfg.c b/cfg.c
index d1bfafb8..be3579ad 100644
--- a/cfg.c
+++ b/cfg.c
@@ -1,4 +1,4 @@
-/* $Id: cfg.c,v 1.20 2009-08-09 17:53:50 tcunha Exp $ */
+/* $Id: cfg.c,v 1.21 2009-08-24 16:24:18 tcunha Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -88,7 +88,6 @@ load_cfg(const char *path, char **cause)
cfg_cause = NULL;
ctx.msgdata = NULL;
- ctx.cursession = NULL;
ctx.curclient = NULL;
ctx.error = cfg_error;