diff options
author | 2017-03-10 04:11:00 +0000 | |
---|---|---|
committer | 2017-03-10 04:11:00 +0000 | |
commit | d528058ca3a3f61ef3ee7182a46d7c171dfb671e (patch) | |
tree | 2747a17cef5210f7b54b7e72c8e0d0de50f55205 | |
parent | fix regression in 7.4 server-sig-algs, where we were accidentally (diff) | |
download | wireguard-openbsd-d528058ca3a3f61ef3ee7182a46d7c171dfb671e.tar.xz wireguard-openbsd-d528058ca3a3f61ef3ee7182a46d7c171dfb671e.zip |
Remove old null check from config dumper. Patch from jjelen at redhat.com
vi bz#2687, ok djm@
-rw-r--r-- | usr.bin/ssh/servconf.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/ssh/servconf.c b/usr.bin/ssh/servconf.c index 434b639b430..18ac6fa7ae9 100644 --- a/usr.bin/ssh/servconf.c +++ b/usr.bin/ssh/servconf.c @@ -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 @@ -2107,8 +2107,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); } |