]> granicus.if.org Git - sudo/commitdiff
Remove debugging code that should not have been committed, oops.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 29 Oct 2000 22:31:42 +0000 (22:31 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 29 Oct 2000 22:31:42 +0000 (22:31 +0000)
sudo.c

diff --git a/sudo.c b/sudo.c
index 79fe1ede57e0b4935b66742f76449b7ea8242b4c..bb81f532a515276caafb93db24f5b9a72ae7fc0d 100644 (file)
--- 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 {