summaryrefslogtreecommitdiffstats
path: root/source/modules/vfs_netatalk.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-12-22 16:03:28 +0000
committerJeremy Allison <jra@samba.org>2002-12-22 16:03:28 +0000
commit35d00bacdc4b48c9b9e2ba9d4335c53a13f40f73 (patch)
treef707e537552ece763eb138b332001ba5e8fb4245 /source/modules/vfs_netatalk.c
parent09a218a9f6fb0bd922940467bf8500eb4f1bcf84 (diff)
downloadsamba-35d00bacdc4b48c9b9e2ba9d4335c53a13f40f73.tar.gz
samba-35d00bacdc4b48c9b9e2ba9d4335c53a13f40f73.tar.xz
samba-35d00bacdc4b48c9b9e2ba9d4335c53a13f40f73.zip
talloc_init_named -> talloc_init.
Jeremy.
Diffstat (limited to 'source/modules/vfs_netatalk.c')
-rw-r--r--source/modules/vfs_netatalk.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/modules/vfs_netatalk.c b/source/modules/vfs_netatalk.c
index 353be36e6f0..c869922a4c7 100644
--- a/source/modules/vfs_netatalk.c
+++ b/source/modules/vfs_netatalk.c
@@ -223,7 +223,7 @@ static int atalk_rmdir(struct connection_struct *conn, const char *path)
strstr(path, APPLEDOUBLE) ? (add = False) : (add = True);
- if (!(ctx = talloc_init_named("remove_directory")))
+ if (!(ctx = talloc_init("remove_directory")))
goto exit_rmdir;
if (!(dpath = talloc_asprintf(ctx, "%s/%s%s",
@@ -252,7 +252,7 @@ static int atalk_rename(struct connection_struct *conn, const char *old, const c
if (!conn || !old) return ret;
- if (!(ctx = talloc_init_named("rename_file")))
+ if (!(ctx = talloc_init("rename_file")))
return ret;
if (atalk_build_paths(ctx, conn->origpath, old, &adbl_path, &orig_path,
@@ -308,7 +308,7 @@ static int atalk_unlink(struct connection_struct *conn, const char *path)
}
}
- if (!(ctx = talloc_init_named("unlink_file")))
+ if (!(ctx = talloc_init("unlink_file")))
return ret;
if (atalk_build_paths(ctx, conn->origpath, path, &adbl_path, &orig_path,
@@ -340,7 +340,7 @@ static int atalk_chmod(struct connection_struct *conn, const char *path, mode_t
if (!conn || !path) return ret;
- if (!(ctx = talloc_init_named("chmod_file")))
+ if (!(ctx = talloc_init("chmod_file")))
return ret;
if (atalk_build_paths(ctx, conn->origpath, path, &adbl_path, &orig_path,
@@ -372,7 +372,7 @@ static int atalk_chown(struct connection_struct *conn, const char *path, uid_t u
if (!conn || !path) return ret;
- if (!(ctx = talloc_init_named("chown_file")))
+ if (!(ctx = talloc_init("chown_file")))
return ret;
if (atalk_build_paths(ctx, conn->origpath, path, &adbl_path, &orig_path,