summaryrefslogtreecommitdiff
path: root/source3/utils/net_conf.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-12-25 03:05:06 +0100
committerMichael Adam <obnox@samba.org>2007-12-25 03:05:06 +0100
commite5a87c2543dea12488250eb8e15dcfe02b34dfe1 (patch)
tree8cab86c51d42f608318bd8dc28fbdee8829e2432 /source3/utils/net_conf.c
parent2764f5a0a6404b1ade9b996783e0a131b7b2d231 (diff)
downloadsamba-e5a87c2543dea12488250eb8e15dcfe02b34dfe1.tar.gz
samba-e5a87c2543dea12488250eb8e15dcfe02b34dfe1.tar.bz2
samba-e5a87c2543dea12488250eb8e15dcfe02b34dfe1.zip
Remove talloc context parameter from libnet_smbconf_drop().
Make use of talloc_stackframe. Michael (This used to be commit aaceab1153f6c2a2adde83681913c771a16ca81f)
Diffstat (limited to 'source3/utils/net_conf.c')
-rw-r--r--source3/utils/net_conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c
index 6d59643bee..9a6f5400e1 100644
--- a/source3/utils/net_conf.c
+++ b/source3/utils/net_conf.c
@@ -538,7 +538,7 @@ int net_conf_drop(int argc, const char **argv)
goto done;
}
- werr = libnet_smbconf_drop(NULL);
+ werr = libnet_smbconf_drop();
if (!W_ERROR_IS_OK(werr)) {
d_fprintf(stderr, "Error deleting configuration: %s\n",
dos_errstr(werr));