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.
This commit is contained in:
Tiago Cunha
2009-08-24 16:24:18 +00:00
parent 266c13df18
commit 2e2e762743
7 changed files with 10 additions and 17 deletions

3
cfg.c
View File

@ -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;