upstream commit
Remove old null check from config dumper. Patch from jjelen at redhat.com vi bz#2687, ok djm@ Upstream-ID: 824ab71467b78c4bab0dd1b3a38e8bc5f63dd528
This commit is contained in:
parent
183ba55aaa
commit
67eed24bfa
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
/* $OpenBSD: servconf.c,v 1.304 2017/02/03 23:01:19 djm Exp $ */
|
/* $OpenBSD: servconf.c,v 1.305 2017/03/10 04:11:00 dtucker Exp $ */
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
||||||
* All rights reserved
|
* All rights reserved
|
||||||
|
@ -2159,8 +2159,6 @@ dump_cfg_fmtint(ServerOpCodes code, int val)
|
||||||
static void
|
static void
|
||||||
dump_cfg_string(ServerOpCodes code, const char *val)
|
dump_cfg_string(ServerOpCodes code, const char *val)
|
||||||
{
|
{
|
||||||
if (val == NULL)
|
|
||||||
return;
|
|
||||||
printf("%s %s\n", lookup_opcode_name(code),
|
printf("%s %s\n", lookup_opcode_name(code),
|
||||||
val == NULL ? "none" : val);
|
val == NULL ? "none" : val);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue