diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-07-17 01:37:42 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-07-17 01:37:42 +0000 |
commit | 98e75a1c9c50e99e46c94623d9a9a8088c4efe30 (patch) | |
tree | 96cdd9e1955d8c496f116eba510311c65b089313 /nscd/hstcache.c | |
parent | 774a8fe8b430891353f2f581c63ad0159e903c8b (diff) | |
download | glibc-98e75a1c9c50e99e46c94623d9a9a8088c4efe30.tar.gz glibc-98e75a1c9c50e99e46c94623d9a9a8088c4efe30.tar.xz glibc-98e75a1c9c50e99e46c94623d9a9a8088c4efe30.zip |
Update.
2001-07-16 Ulrich Drepper <drepper@redhat.com> * nscd/connections.c: Print messages caused by user application only if debug_level > 0. * nscd/grpcache.c: Likewise. * nscd/hstcache.c: Likewise. * nscd/pwdcache.c: Likewise.
Diffstat (limited to 'nscd/hstcache.c')
-rw-r--r-- | nscd/hstcache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nscd/hstcache.c b/nscd/hstcache.c index 7cdf18f128..3e8c370b70 100644 --- a/nscd/hstcache.c +++ b/nscd/hstcache.c @@ -1,5 +1,5 @@ /* Cache handling for host lookup. - Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998. @@ -272,7 +272,7 @@ cache_addhst (struct database *db, int fd, request_header *req, void *key, pthread_rwlock_unlock (&db->lock); } - if (written != total) + if (written != total && debug_level > 0) { char buf[256]; dbg_log (_("short write in %s: %s"), __FUNCTION__, |