opendoas

A portable version of the OpenBSD `doas` command
git clone https://pi.duncano.de/git/opendoas.git
Log | Files | Refs | README | LICENSE

commit 3d4a67e24708199e456761db47f9962f3772f555
parent 563f8b1b5a08eddbc5a116dc5fff4bffb03be019
Author: Theo de Raadt <deraadt@openbsd.org>
Date:   Wed, 22 Jul 2015 05:37:23 +0000

one whitespace out of place

Diffstat:
doas.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doas.c b/doas.c @@ -1,4 +1,4 @@ -/* $OpenBSD: doas.c,v 1.17 2015/07/21 16:15:20 tedu Exp $ */ +/* $OpenBSD: doas.c,v 1.18 2015/07/21 17:49:33 jmc Exp $ */ /* * Copyright (c) 2015 Ted Unangst <tedu@openbsd.org> * @@ -227,7 +227,7 @@ copyenv(const char **oldenvp, struct rule *rule) for (j = 0; j < nbad; j++) { size_t len = strlen(badset[j]); if (strncmp(oldenvp[i], badset[j], len) == 0 && - oldenvp[i][len] == '=') { + oldenvp[i][len] == '=') { break; } }