summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-01-03 00:22:43 +0000
committerAndrew Tridgell <tridge@samba.org>2000-01-03 00:22:43 +0000
commit5105c1b4506c35371d7cb0e9e5ac55fe4a6a53af (patch)
tree68029f44ed0934fd860808930eaf34d1e9cee3ef /source3/smbd
parent8b1229c3feecc1d4827f562b1dc31d0853186794 (diff)
downloadsamba-5105c1b4506c35371d7cb0e9e5ac55fe4a6a53af.tar.gz
samba-5105c1b4506c35371d7cb0e9e5ac55fe4a6a53af.tar.bz2
samba-5105c1b4506c35371d7cb0e9e5ac55fe4a6a53af.zip
don't close the database after each claim_connection()
(This used to be commit d5ceb2972b65c261cfb04b6dcccb3ace9f2238a7)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/connection.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/smbd/connection.c b/source3/smbd/connection.c
index 13c051a5a3..82f789f7a1 100644
--- a/source3/smbd/connection.c
+++ b/source3/smbd/connection.c
@@ -102,7 +102,5 @@ BOOL claim_connection(connection_struct *conn,char *name,int max_connections,BOO
if (tdb_store(tdb, kbuf, dbuf, TDB_REPLACE) != 0) return False;
- tdb_close(tdb);
-
return True;
}