summaryrefslogtreecommitdiffstats
path: root/source/smbd/connection.c
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
commitd5ceb2972b65c261cfb04b6dcccb3ace9f2238a7 (patch)
tree2737d3618c853067dcc26bd104c83a9636dbf6e0 /source/smbd/connection.c
parentc199ec9543d0d84bd5ea29078887684f708c9637 (diff)
downloadsamba-d5ceb2972b65c261cfb04b6dcccb3ace9f2238a7.tar.gz
samba-d5ceb2972b65c261cfb04b6dcccb3ace9f2238a7.tar.xz
samba-d5ceb2972b65c261cfb04b6dcccb3ace9f2238a7.zip
don't close the database after each claim_connection()
Diffstat (limited to 'source/smbd/connection.c')
-rw-r--r--source/smbd/connection.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/smbd/connection.c b/source/smbd/connection.c
index 13c051a5a36..82f789f7a1a 100644
--- a/source/smbd/connection.c
+++ b/source/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;
}