diff options
author | Jeremy Allison <jra@samba.org> | 2002-01-11 19:10:25 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-01-11 19:10:25 +0000 |
commit | 01ff6ce4963e1daff019f2b936cef218e1c93f67 (patch) | |
tree | cc0f4705076a09781bb9365d56e1bd5f56a59d6e /source/libsmb/climessage.c | |
parent | 0b0b937b58f4bf4e005fb622f0db19175fc46a47 (diff) | |
download | samba-01ff6ce4963e1daff019f2b936cef218e1c93f67.tar.gz samba-01ff6ce4963e1daff019f2b936cef218e1c93f67.tar.xz samba-01ff6ce4963e1daff019f2b936cef218e1c93f67.zip |
Same fix as went into 2.2 (I'm waiting for jerry to finish some code).
Jeremy.
Diffstat (limited to 'source/libsmb/climessage.c')
-rw-r--r-- | source/libsmb/climessage.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/libsmb/climessage.c b/source/libsmb/climessage.c index d32c5de0420..5ded79de96c 100644 --- a/source/libsmb/climessage.c +++ b/source/libsmb/climessage.c @@ -35,7 +35,7 @@ BOOL cli_message_start(struct cli_state *cli, char *host, char *username, /* send a SMBsendstrt command */ memset(cli->outbuf,'\0',smb_size); set_message(cli->outbuf,0,0,True); - CVAL(cli->outbuf,smb_com) = SMBsendstrt; + SCVAL(cli->outbuf,smb_com,SMBsendstrt); SSVAL(cli->outbuf,smb_tid,cli->cnum); cli_setup_packet(cli); @@ -70,7 +70,7 @@ BOOL cli_message_text(struct cli_state *cli, char *msg, int len, int grp) memset(cli->outbuf,'\0',smb_size); set_message(cli->outbuf,1,0,True); - CVAL(cli->outbuf,smb_com) = SMBsendtxt; + SCVAL(cli->outbuf,smb_com,SMBsendtxt); SSVAL(cli->outbuf,smb_tid,cli->cnum); cli_setup_packet(cli); @@ -101,7 +101,7 @@ BOOL cli_message_end(struct cli_state *cli, int grp) { memset(cli->outbuf,'\0',smb_size); set_message(cli->outbuf,1,0,True); - CVAL(cli->outbuf,smb_com) = SMBsendend; + SCVAL(cli->outbuf,smb_com,SMBsendend); SSVAL(cli->outbuf,smb_tid,cli->cnum); SSVAL(cli->outbuf,smb_vwv0,grp); |