summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-04 19:52:22 +0100
committerMichael Adam <obnox@samba.org>2008-01-04 19:52:22 +0100
commitb1472c0956c6d016973c2a76e4dfce5ecc3b9c05 (patch)
tree13523c9bf4e510bd9dfcbaaf955ad0dee4daa0e0
parent2a8722d4c3177077f5d6cc648f4ef42e38e0ab4d (diff)
downloadsamba-b1472c0956c6d016973c2a76e4dfce5ecc3b9c05.tar.gz
samba-b1472c0956c6d016973c2a76e4dfce5ecc3b9c05.tar.bz2
samba-b1472c0956c6d016973c2a76e4dfce5ecc3b9c05.zip
Remove the final regdb_close() from net_conf.c
This is to hide the registry from net_conf. Right now, it does not harm if "net conf" does not close the registry file explicitly just before exiting. I am working out a proper way of handling open/close operations transparently in the libnet_conf library. Michael (This used to be commit 790ef789444945fbae5637f0b469665859171dcd)
-rw-r--r--source3/utils/net_conf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c
index 2df2410160..d212b451bc 100644
--- a/source3/utils/net_conf.c
+++ b/source3/utils/net_conf.c
@@ -863,8 +863,6 @@ int net_conf(int argc, const char **argv)
ret = net_run_function2(argc, argv, "net conf", func);
- regdb_close();
-
return ret;
}