diff options
author | Paul Janzen <pjanzen@cvs.openbsd.org> | 2001-07-09 22:21:55 +0000 |
---|---|---|
committer | Paul Janzen <pjanzen@cvs.openbsd.org> | 2001-07-09 22:21:55 +0000 |
commit | afc166d71159a00f76b52d00d9e67c22a895fd0e (patch) | |
tree | 8d6adf56e1e8992310af140f1f47f987874e0a2d /usr.sbin/pppd/auth.c | |
parent | f6f04aba10f780cd5a504a080578c09a27767717 (diff) |
remove extraneous braces
Diffstat (limited to 'usr.sbin/pppd/auth.c')
-rw-r--r-- | usr.sbin/pppd/auth.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/pppd/auth.c b/usr.sbin/pppd/auth.c index 90a117555e1..7d050ce47a4 100644 --- a/usr.sbin/pppd/auth.c +++ b/usr.sbin/pppd/auth.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auth.c,v 1.19 2001/06/23 15:34:02 lebel Exp $ */ +/* $OpenBSD: auth.c,v 1.20 2001/07/09 22:21:54 pjanzen Exp $ */ /* * auth.c - PPP authentication and phase control. @@ -38,7 +38,7 @@ #if 0 static char rcsid[] = "Id: auth.c,v 1.37 1998/03/26 04:46:03 paulus Exp $"; #else -static char rcsid[] = "$OpenBSD: auth.c,v 1.19 2001/06/23 15:34:02 lebel Exp $"; +static char rcsid[] = "$OpenBSD: auth.c,v 1.20 2001/07/09 22:21:54 pjanzen Exp $"; #endif #endif @@ -1016,9 +1016,8 @@ get_pap_passwd(passwd) fclose(f); if (ret < 0) return 0; - if (passwd != NULL) { + if (passwd != NULL) strlcpy(passwd, secret, MAXSECRETLEN); - } BZERO(secret, sizeof(secret)); return 1; } |