summaryrefslogtreecommitdiff
path: root/source/libsmb/clientgen.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-12-20 20:21:31 +0000
committerJeremy Allison <jra@samba.org>2002-12-20 20:21:31 +0000
commit09a218a9f6fb0bd922940467bf8500eb4f1bcf84 (patch)
tree02ee383b5b2c2ff4c34a5dfa15af12d0d8b114bf /source/libsmb/clientgen.c
parent0637f582fe1d41f8ef247e5989f84caa72162f05 (diff)
downloadsamba-09a218a9f6fb0bd922940467bf8500eb4f1bcf84.tar.gz
Forward port the change to talloc_init() to make all talloc contexts
named. Ensure we can query them. Jeremy.
Diffstat (limited to 'source/libsmb/clientgen.c')
-rw-r--r--source/libsmb/clientgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libsmb/clientgen.c b/source/libsmb/clientgen.c
index 28480043b9b..c843d49d27b 100644
--- a/source/libsmb/clientgen.c
+++ b/source/libsmb/clientgen.c
@@ -262,7 +262,7 @@ struct cli_state *cli_initialise(struct cli_state *cli)
if (!cli->outbuf || !cli->inbuf)
goto error;
- if ((cli->mem_ctx = talloc_init_named("cli based talloc")) == NULL)
+ if ((cli->mem_ctx = talloc_init("cli based talloc")) == NULL)
goto error;
memset(cli->outbuf, 0, cli->bufsize);