summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorSATOH Fumiyasu <fumiyas@osstech.co.jp>2009-06-30 15:29:08 -0700
committerJeremy Allison <jra@samba.org>2009-06-30 15:29:08 -0700
commit7f7ebfaecbe3458a4c3e8fc79b68dd247ef4e31e (patch)
treedabfe401e85a0ca20b327b0fb2dbb2f1f02ffe61 /source3/include/proto.h
parent78519b65007d87870ea406315b7f233eba69e155 (diff)
downloadsamba-7f7ebfaecbe3458a4c3e8fc79b68dd247ef4e31e.tar.gz
samba-7f7ebfaecbe3458a4c3e8fc79b68dd247ef4e31e.tar.bz2
samba-7f7ebfaecbe3458a4c3e8fc79b68dd247ef4e31e.zip
Fix bug #6496 - MS-DFS: cannot follow multibyte char link name.
consumed_ucs is the number of bytes of the UCS2 path consumed not counting any terminating null. We need to convert back to unix charset and count again to get the number of bytes consumed from the incoming path.
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 49afd8c466..a3ae1ddad7 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2260,7 +2260,7 @@ bool cli_dfs_get_referral(TALLOC_CTX *ctx,
const char *path,
CLIENT_DFS_REFERRAL**refs,
size_t *num_refs,
- uint16 *consumed);
+ size_t *consumed);
bool cli_resolve_path(TALLOC_CTX *ctx,
const char *mountpt,
const struct user_auth_info *dfs_auth_info,