From f31d6ce259289b9640c49bc4eb15e689395f8a5a Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sun, 29 Oct 2000 22:31:42 +0000 Subject: [PATCH] Remove debugging code that should not have been committed, oops. --- sudo.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sudo.c b/sudo.c index 79fe1ede5..bb81f532a 100644 --- a/sudo.c +++ b/sudo.c @@ -473,8 +473,7 @@ init_vars(sudo_mode) * "host" is the (possibly fully-qualified) hostname and * "shost" is the unqualified form of the hostname. */ - /* nohostname = gethostname(thost, sizeof(thost)); */ - nohostname = -1; + nohostname = gethostname(thost, sizeof(thost)); if (nohostname) user_host = user_shost = "localhost"; else { -- 2.50.1