summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-12-21 00:30:32 +0000
committerTim Potter <tpot@samba.org>2000-12-21 00:30:32 +0000
commitb37ac378cff2b2cbc3266ca85ebd738694727526 (patch)
tree9ae954fb4e77f136240f0eb8596d3bad524c60ff /source3
parentd15bef816ddbbeb505f72f1682d6fa48b2900edb (diff)
downloadsamba-b37ac378cff2b2cbc3266ca85ebd738694727526.tar.gz
samba-b37ac378cff2b2cbc3266ca85ebd738694727526.tar.bz2
samba-b37ac378cff2b2cbc3266ca85ebd738694727526.zip
Replace magic number with constant.
(This used to be commit 1a228868cf14418894b798f19955df3276bd1089)
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/cliconnect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index 8a7c6da1af..3e41ec8296 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -438,7 +438,7 @@ BOOL cli_negprot(struct cli_state *cli)
cli->servertime = interpret_long_date(cli->inbuf+smb_vwv11+1);
memcpy(cli->cryptkey,smb_buf(cli->inbuf),8);
cli->capabilities = IVAL(cli->inbuf,smb_vwv9+1);
- if (cli->capabilities & 1) {
+ if (cli->capabilities & CAP_RAW_MODE) {
cli->readbraw_supported = True;
cli->writebraw_supported = True;
}