summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/readconf.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2000-07-14 22:59:47 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2000-07-14 22:59:47 +0000
commitb121934a5988cd6608b2dccb71679a049e9c6eb8 (patch)
treecb9801a62677e01b125a4b81802f2c6f79ecb3ee /usr.bin/ssh/readconf.c
parente2fa6def2cf46c9b118af477afb4086860dd6035 (diff)
allow leading whitespace. ok niels
Diffstat (limited to 'usr.bin/ssh/readconf.c')
-rw-r--r--usr.bin/ssh/readconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/readconf.c b/usr.bin/ssh/readconf.c
index 4dfaff489ec..06cfaa1a369 100644
--- a/usr.bin/ssh/readconf.c
+++ b/usr.bin/ssh/readconf.c
@@ -14,7 +14,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: readconf.c,v 1.42 2000/07/13 22:53:21 provos Exp $");
+RCSID("$OpenBSD: readconf.c,v 1.43 2000/07/14 22:59:46 markus Exp $");
#include "ssh.h"
#include "cipher.h"
@@ -242,7 +242,7 @@ process_config_line(Options *options, const char *host,
keyword = strdelim(&s);
/* Ignore leading whitespace. */
if (*keyword == '\0')
- keyword = s;
+ keyword = strdelim(&s);
if (!*keyword || *keyword == '\n' || *keyword == '#')
return 0;