about summary refs log tree commit diff
path: root/nscd/hstcache.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-01-15 09:54:58 +0000
committerUlrich Drepper <drepper@redhat.com>2003-01-15 09:54:58 +0000
commit0949246f1f4879282a21590a696d08186b3a7a8a (patch)
treef42a8d10676ce63c9294bd0f1ba30bbb977bc7b7 /nscd/hstcache.c
parent9ae10332179e1f3c4fafa2f93f27276ea4974b19 (diff)
downloadglibc-0949246f1f4879282a21590a696d08186b3a7a8a.tar.gz
glibc-0949246f1f4879282a21590a696d08186b3a7a8a.tar.xz
glibc-0949246f1f4879282a21590a696d08186b3a7a8a.zip
(addhstbynamev6): Don't interpret hostname as IPv6 address in debug output.
Diffstat (limited to 'nscd/hstcache.c')
-rw-r--r--nscd/hstcache.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/nscd/hstcache.c b/nscd/hstcache.c
index 67f4e50f97..19a85b9409 100644
--- a/nscd/hstcache.c
+++ b/nscd/hstcache.c
@@ -1,5 +1,5 @@
 /* Cache handling for host lookup.
-   Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+   Copyright (C) 1998-2002, 2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -450,12 +450,7 @@ addhstbynamev6 (struct database *db, int fd, request_header *req,
   bool use_malloc = false;
 
   if (__builtin_expect (debug_level > 0, 0))
-    {
-      char buf[INET6_ADDRSTRLEN];
-
-      dbg_log (_("Haven't found \"%s\" in hosts cache!"),
-	       inet_ntop (AF_INET6, key, buf, sizeof (buf)));
-    }
+    dbg_log (_("Haven't found \"%s\" in hosts cache!"), key);
 
   if (secure[hstdb])
     {