]> granicus.if.org Git - sudo/commitdiff
Really fix UNSETENV_VOID
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 2 Mar 2009 19:19:35 +0000 (19:19 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 2 Mar 2009 19:19:35 +0000 (19:19 +0000)
env.c

diff --git a/env.c b/env.c
index 51704c890ffa4fae15b06e4275403e6d6ccdf0c0..f5dba2e20c20bd3485bef657cff1e2603d6cfda2 100644 (file)
--- a/env.c
+++ b/env.c
@@ -286,7 +286,7 @@ unsetenv(var)
 
     if (strchr(var, '=') != NULL) {
        errno = EINVAL;
-#ifndef UNSETENV_VOID
+#ifdef UNSETENV_VOID
        return;
 #else
        return(-1);