diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2017-03-10 04:11:00 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2017-03-10 15:35:39 +1100 |
commit | 67eed24bfa7645d88fa0b883745fccb22a0e527e (patch) | |
tree | 9b4a20f962891e040ca536ae594d56ff622fac0c | |
parent | 183ba55aaaecca0206184b854ad6155df237adbe (diff) | |
download | openssh-git-67eed24bfa7645d88fa0b883745fccb22a0e527e.tar.gz |
upstream commit
Remove old null check from config dumper. Patch from
jjelen at redhat.com vi bz#2687, ok djm@
Upstream-ID: 824ab71467b78c4bab0dd1b3a38e8bc5f63dd528
-rw-r--r-- | servconf.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 * All rights reserved @@ -2159,8 +2159,6 @@ dump_cfg_fmtint(ServerOpCodes code, int val) static void dump_cfg_string(ServerOpCodes code, const char *val) { - if (val == NULL) - return; printf("%s %s\n", lookup_opcode_name(code), val == NULL ? "none" : val); } |