summaryrefslogtreecommitdiff
path: root/source3/rpc_parse/parse_rpc.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-02-08 23:40:49 +0000
committerLuke Leighton <lkcl@samba.org>1999-02-08 23:40:49 +0000
commit99a9b0f7c4f85f46102457cf4707e8948b77fb3f (patch)
tree3bb95603cd8656e486e62ce557d368e0766b1ace /source3/rpc_parse/parse_rpc.c
parent37c9693fc8055773812ed86d91f9dfcc554eea30 (diff)
downloadsamba-99a9b0f7c4f85f46102457cf4707e8948b77fb3f.tar.gz
samba-99a9b0f7c4f85f46102457cf4707e8948b77fb3f.tar.bz2
samba-99a9b0f7c4f85f46102457cf4707e8948b77fb3f.zip
UNICODE byte ordering issue: typecast to uint16* replaced with SSVAL()
(This used to be commit 9084b7e33dfe717bd8d5604ee71d137e3baef0f5)
Diffstat (limited to 'source3/rpc_parse/parse_rpc.c')
-rw-r--r--source3/rpc_parse/parse_rpc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_parse/parse_rpc.c b/source3/rpc_parse/parse_rpc.c
index 9ce83bea83..12e94ace77 100644
--- a/source3/rpc_parse/parse_rpc.c
+++ b/source3/rpc_parse/parse_rpc.c
@@ -707,9 +707,9 @@ void make_rpc_auth_ntlmssp_resp(RPC_AUTH_NTLMSSP_RESP *rsp,
if (IS_BITS_SET_ALL(neg_flags, NTLMSSP_NEGOTIATE_UNICODE))
{
- struni2((uint16*)rsp->domain, domain);
- struni2((uint16*)rsp->user , user );
- struni2((uint16*)rsp->wks , wks );
+ struni2(rsp->domain, domain);
+ struni2(rsp->user , user );
+ struni2(rsp->wks , wks );
}
else
{