diff options
author | SATOH Fumiyasu <fumiyas@osstech.co.jp> | 2009-06-30 15:29:08 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-06-30 15:29:08 -0700 |
commit | 7f7ebfaecbe3458a4c3e8fc79b68dd247ef4e31e (patch) | |
tree | dabfe401e85a0ca20b327b0fb2dbb2f1f02ffe61 /source3/include/proto.h | |
parent | 78519b65007d87870ea406315b7f233eba69e155 (diff) | |
download | samba-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.h | 2 |
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, |