git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06a6db5
)
Fix for connectinos.tdb error message from "Richard Bollinger" <rabollinger@home...
author
Jeremy Allison
<jra@samba.org>
Tue, 16 Oct 2001 08:39:43 +0000
(08:39 +0000)
committer
Jeremy Allison
<jra@samba.org>
Tue, 16 Oct 2001 08:39:43 +0000
(08:39 +0000)
Jeremy.
(This used to be commit
f1f1a14598be64d4930049691ca970fe93506007
)
source3/smbd/connection.c
patch
|
blob
|
history
diff --git
a/source3/smbd/connection.c
b/source3/smbd/connection.c
index f6da678cb18d93794575c159afec094b26cc75e2..c0eaf8187dbedbac391608172b3b124e2e4afb88 100644
(file)
--- 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);
}