summaryrefslogtreecommitdiff
path: root/source/libsmb/clidgram.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-01-11 19:10:25 +0000
committerJeremy Allison <jra@samba.org>2002-01-11 19:10:25 +0000
commit01ff6ce4963e1daff019f2b936cef218e1c93f67 (patch)
treecc0f4705076a09781bb9365d56e1bd5f56a59d6e /source/libsmb/clidgram.c
parent0b0b937b58f4bf4e005fb622f0db19175fc46a47 (diff)
downloadsamba-01ff6ce4963e1daff019f2b936cef218e1c93f67.tar.gz
Same fix as went into 2.2 (I'm waiting for jerry to finish some code).
Jeremy.
Diffstat (limited to 'source/libsmb/clidgram.c')
-rw-r--r--source/libsmb/clidgram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libsmb/clidgram.c b/source/libsmb/clidgram.c
index e990739de5a..ded47b7d068 100644
--- a/source/libsmb/clidgram.c
+++ b/source/libsmb/clidgram.c
@@ -71,7 +71,7 @@ int cli_send_mailslot(int dgram_sock, BOOL unique, char *mailslot,
set_message(ptr,17,17 + len,True);
memcpy(ptr,tmp,4);
- CVAL(ptr,smb_com) = SMBtrans;
+ SCVAL(ptr,smb_com,SMBtrans);
SSVAL(ptr,smb_vwv1,len);
SSVAL(ptr,smb_vwv11,len);
SSVAL(ptr,smb_vwv12,70 + strlen(mailslot));