diff options
author | Jeremy Allison <jra@samba.org> | 2001-10-16 08:39:43 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-10-16 08:39:43 +0000 |
commit | 7acc2b977c4829fb70df6e9a9c4ba6111366aabc (patch) | |
tree | 427a273fbec1447d8f5591de94148774fac55bac /source3/smbd | |
parent | 06a6db53fa90ea944f8d985dfd8973e274d25b6f (diff) | |
download | samba-7acc2b977c4829fb70df6e9a9c4ba6111366aabc.tar.gz samba-7acc2b977c4829fb70df6e9a9c4ba6111366aabc.tar.bz2 samba-7acc2b977c4829fb70df6e9a9c4ba6111366aabc.zip |
Fix for connectinos.tdb error message from "Richard Bollinger" <rabollinger@home.com>
Jeremy.
(This used to be commit f1f1a14598be64d4930049691ca970fe93506007)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/connection.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/smbd/connection.c b/source3/smbd/connection.c index f6da678cb1..c0eaf8187d 100644 --- a/source3/smbd/connection.c +++ b/source3/smbd/connection.c @@ -55,8 +55,9 @@ BOOL yield_connection(connection_struct *conn,char *name,int max_connections) kbuf.dsize = sizeof(key); if (tdb_delete(tdb, kbuf) != 0) { - DEBUG(0,("yield_connection: tdb_delete for name %s failed with error %s.\n", - name, tdb_errorstr(tdb) )); + int dbg_lvl = (!conn && (tdb_error(tdb) == TDB_ERR_NOEXIST)) ? 3 : 0; + DEBUG(dbg_lvl,("yield_connection: tdb_delete for name %s failed with error %s.\n", + name, tdb_errorstr(tdb) )); return (False); } |