git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
66bd683
)
use dbwrap_rbt in loadparm.c
author
Volker Lendecke
<vl@sernet.de>
Sat, 24 Nov 2007 20:42:46 +0000
(21:42 +0100)
committer
Volker Lendecke
<vl@samba.org>
Mon, 10 Dec 2007 15:06:32 +0000
(16:06 +0100)
source/param/loadparm.c
patch
|
blob
|
history
diff --git
a/source/param/loadparm.c
b/source/param/loadparm.c
index cb19fda741a9e2b38d8213da655731e1ef53fc6a..608acb12e71356b04b05da7326d5ccb82457ce20 100644
(file)
--- a/
source/param/loadparm.c
+++ b/
source/param/loadparm.c
@@
-2641,10
+2641,8
@@
static bool hash_a_service(const char *name, int idx)
char *canon_name;
if ( !ServiceHash ) {
- DEBUG(10,("hash_a_service: creating tdb servicehash\n"));
- ServiceHash = db_open_tdb(NULL, "servicehash", 1031,
- TDB_INTERNAL, (O_RDWR|O_CREAT),
- 0600);
+ DEBUG(10,("hash_a_service: creating servicehash\n"));
+ ServiceHash = db_open_rbt(NULL);
if ( !ServiceHash ) {
DEBUG(0,("hash_a_service: open tdb servicehash failed!\n"));
return False;