summaryrefslogtreecommitdiff
path: root/source4/ntvfs/cifs_posix_cli/svfs_util.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-02-02 08:32:04 +0100
committerStefan Metzmacher <metze@samba.org>2009-02-02 13:08:31 +0100
commit0c64c213e84f644b39f1c654e0be9ca601173eca (patch)
treea3015802a642a92350eec932d0128c14fd10facb /source4/ntvfs/cifs_posix_cli/svfs_util.c
parent24fb16f1f6d1e5ecbc1c6468bc1f35e7ecb3b0aa (diff)
downloadsamba-0c64c213e84f644b39f1c654e0be9ca601173eca.tar.gz
samba-0c64c213e84f644b39f1c654e0be9ca601173eca.tar.bz2
samba-0c64c213e84f644b39f1c654e0be9ca601173eca.zip
s4:ntvfs/cifs_posix_cli: s/private/p
metze
Diffstat (limited to 'source4/ntvfs/cifs_posix_cli/svfs_util.c')
-rw-r--r--source4/ntvfs/cifs_posix_cli/svfs_util.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/ntvfs/cifs_posix_cli/svfs_util.c b/source4/ntvfs/cifs_posix_cli/svfs_util.c
index e502340229..03a46205a7 100644
--- a/source4/ntvfs/cifs_posix_cli/svfs_util.c
+++ b/source4/ntvfs/cifs_posix_cli/svfs_util.c
@@ -39,17 +39,17 @@
char *cifspsx_unix_path(struct ntvfs_module_context *ntvfs,
struct ntvfs_request *req, const char *name)
{
- struct cifspsx_private *private = ntvfs->private_data;
+ struct cifspsx_private *p = ntvfs->private_data;
char *ret;
if (*name != '\\') {
- ret = talloc_asprintf(req, "%s/%s", private->connectpath, name);
+ ret = talloc_asprintf(req, "%s/%s", p->connectpath, name);
} else {
- ret = talloc_asprintf(req, "%s%s", private->connectpath, name);
+ ret = talloc_asprintf(req, "%s%s", p->connectpath, name);
}
all_string_sub(ret, "\\", "/", 0);
- strlower(ret + strlen(private->connectpath));
+ strlower(ret + strlen(p->connectpath));
return ret;
}
@@ -145,13 +145,13 @@ struct cifspsx_dir *cifspsx_list_unix(TALLOC_CTX *mem_ctx, struct ntvfs_request
*/
struct cifspsx_dir *cifspsx_list(struct ntvfs_module_context *ntvfs, struct ntvfs_request *req, const char *pattern)
{
- struct cifspsx_private *private = ntvfs->private_data;
+ struct cifspsx_private *p = ntvfs->private_data;
char *unix_path;
unix_path = cifspsx_unix_path(ntvfs, req, pattern);
if (!unix_path) { return NULL; }
- return cifspsx_list_unix(private, req, unix_path);
+ return cifspsx_list_unix(p, req, unix_path);
}