summaryrefslogtreecommitdiffstats
path: root/source3/client/clientutil.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-11-02 04:01:57 +0000
committerAndrew Tridgell <tridge@samba.org>1997-11-02 04:01:57 +0000
commit4012c1cc8f47c7b3271a76a362ed2e4be4e8405c (patch)
tree08fa06456fe3b5e730f16de34503bfe376fec99f /source3/client/clientutil.c
parent56eece129efcd8717cfdc507b7d34a073b024d68 (diff)
downloadsamba-4012c1cc8f47c7b3271a76a362ed2e4be4e8405c.tar.gz
samba-4012c1cc8f47c7b3271a76a362ed2e4be4e8405c.tar.xz
samba-4012c1cc8f47c7b3271a76a362ed2e4be4e8405c.zip
convert the credentials code back to uchar[8] from uint32[2]
This should fix the byte order problems (maybe!) (This used to be commit 21878e7d8628d05786c3c76f2943e31df1096577)
Diffstat (limited to 'source3/client/clientutil.c')
-rw-r--r--source3/client/clientutil.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/client/clientutil.c b/source3/client/clientutil.c
index 1d4f3fcb433..1794615cd0f 100644
--- a/source3/client/clientutil.c
+++ b/source3/client/clientutil.c
@@ -197,7 +197,7 @@ BOOL cli_receive_trans_response(char *inbuf,int trans,
send a SMB trans or trans2 request
****************************************************************************/
BOOL cli_send_trans_request(char *outbuf,int trans,
- char *name,int name_len, int fid,int flags,
+ char *name,int namelen, int fid,int flags,
char *data,char *param,uint16 *setup,
int ldata,int lparam,int lsetup,
int mdata,int mparam,int msetup)
@@ -218,7 +218,7 @@ BOOL cli_send_trans_request(char *outbuf,int trans,
SSVAL(outbuf,smb_tid,cnum);
cli_setup_pkt(outbuf);
- outparam = smb_buf(outbuf)+(trans==SMBtrans ? name_len+1 : 3);
+ outparam = smb_buf(outbuf)+(trans==SMBtrans ? namelen+1 : 3);
outdata = outparam+this_lparam;
/* primary request */
@@ -238,7 +238,7 @@ BOOL cli_send_trans_request(char *outbuf,int trans,
SSVAL(outbuf,smb_setup+i*SIZEOFWORD,setup[i]);
p = smb_buf(outbuf);
if (trans==SMBtrans)
- memcpy(p,name, name_len+1); /* name[] */
+ memcpy(p,name, namelen+1); /* name[] */
else
{
*p++ = 0; /* put in a null smb_name */