diff options
author | 2001-01-20 23:02:07 +0000 | |
---|---|---|
committer | 2001-01-20 23:02:07 +0000 | |
commit | 7c87d10bcb456bfe157fd029094a24e0c21a07ea (patch) | |
tree | dd8dc9bc4040c3a8ee248067bc52a6cdbdccd7be | |
parent | Check for NULL return from strdelim; ok markus (diff) | |
download | wireguard-openbsd-7c87d10bcb456bfe157fd029094a24e0c21a07ea.tar.xz wireguard-openbsd-7c87d10bcb456bfe157fd029094a24e0c21a07ea.zip |
KNF; ok markus
-rw-r--r-- | usr.bin/ssh/readconf.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/ssh/readconf.c b/usr.bin/ssh/readconf.c index cdcb5ea4235..6086776b026 100644 --- a/usr.bin/ssh/readconf.c +++ b/usr.bin/ssh/readconf.c @@ -12,7 +12,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: readconf.c,v 1.56 2001/01/20 17:59:40 deraadt Exp $"); +RCSID("$OpenBSD: readconf.c,v 1.57 2001/01/20 23:02:07 djm Exp $"); #include "ssh.h" #include "readconf.h" @@ -598,8 +598,7 @@ parse_int: } /* Check that there is no garbage at end of line. */ - if ((arg = strdelim(&s)) != NULL && *arg != '\0') - { + if ((arg = strdelim(&s)) != NULL && *arg != '\0') { fatal("%.200s line %d: garbage at end of line; \"%.200s\".", filename, linenum, arg); } |