summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-04-23 15:24:38 +0200
committerJelmer Vernooij <jelmer@samba.org>2009-04-23 17:50:18 +0200
commit80420745ff2998626a302b5f863db8364e858f8f (patch)
tree5e6a24950a0f4a79bc35996959889962ad8a6472 /source4/ntvfs
parentae6af9ecbfce559a50d95853d6e66b8aa8788741 (diff)
downloadsamba-80420745ff2998626a302b5f863db8364e858f8f.tar.gz
samba-80420745ff2998626a302b5f863db8364e858f8f.tar.bz2
samba-80420745ff2998626a302b5f863db8364e858f8f.zip
Add a new non-convenience version of push_codepoint.
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/posix/pvfs_rename.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/ntvfs/posix/pvfs_rename.c b/source4/ntvfs/posix/pvfs_rename.c
index 7f8eab5aa0..0616d38bee 100644
--- a/source4/ntvfs/posix/pvfs_rename.c
+++ b/source4/ntvfs/posix/pvfs_rename.c
@@ -118,13 +118,13 @@ static const char *pvfs_resolve_wildcard_component(TALLOC_CTX *mem_ctx,
c1 = next_codepoint_convenience(iconv_convenience, p1, &c_size1);
c2 = next_codepoint_convenience(iconv_convenience, p2, &c_size2);
if (c2 == '?') {
- d += push_codepoint(iconv_convenience, d, c1);
+ d += push_codepoint_convenience(iconv_convenience, d, c1);
} else if (c2 == '*') {
memcpy(d, p1, strlen(p1));
d += strlen(p1);
break;
} else {
- d += push_codepoint(iconv_convenience, d, c2);
+ d += push_codepoint_convenience(iconv_convenience, d, c2);
}
p1 += c_size1;