From: Todd C. Miller Date: Sun, 29 Oct 2000 22:31:42 +0000 (+0000) Subject: Remove debugging code that should not have been committed, oops. X-Git-Tag: SUDO_1_6_4~242 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f31d6ce259289b9640c49bc4eb15e689395f8a5a;p=sudo Remove debugging code that should not have been committed, oops. --- 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 {