From cfa64d20df05ebe99d3a4bc016e68a770b70d4ad Mon Sep 17 00:00:00 2001 From: Garming Sam Date: Mon, 3 Feb 2014 15:12:09 +1300 Subject: param: rename lp function and variable from 'defaultcase' to 'default_case' Signed-off-by: Garming Sam Reviewed-by: Andrew Bartlett Reviewed-by: Jeremy Allison --- source3/smbd/filename.c | 4 ++-- source3/smbd/mangle.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/smbd') diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index eaec5b639e5..56c36e02ec9 100644 --- a/source3/smbd/filename.c +++ b/source3/smbd/filename.c @@ -323,7 +323,7 @@ NTSTATUS unix_convert(TALLOC_CTX *ctx, if (conn->case_sensitive && !conn->case_preserve && !conn->short_case_preserve) { - if (!strnorm(smb_fname->base_name, lp_defaultcase(SNUM(conn)))) { + if (!strnorm(smb_fname->base_name, lp_default_case(SNUM(conn)))) { DEBUG(0, ("strnorm %s failed\n", smb_fname->base_name)); status = NT_STATUS_INVALID_PARAMETER; goto err; @@ -770,7 +770,7 @@ NTSTATUS unix_convert(TALLOC_CTX *ctx, conn->params) && !conn->short_case_preserve)) { if (!strnorm(start, - lp_defaultcase(SNUM(conn)))) { + lp_default_case(SNUM(conn)))) { DEBUG(0, ("strnorm %s failed\n", start)); status = NT_STATUS_INVALID_PARAMETER; diff --git a/source3/smbd/mangle.c b/source3/smbd/mangle.c index 60a17c5e41f..a8988f02199 100644 --- a/source3/smbd/mangle.c +++ b/source3/smbd/mangle.c @@ -148,6 +148,6 @@ bool name_to_8_3(const char *in, return mangle_fns->name_to_8_3(in, out, cache83, - lp_defaultcase(p->service), + lp_default_case(p->service), p); } -- cgit v1.2.1