From b37ac378cff2b2cbc3266ca85ebd738694727526 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Thu, 21 Dec 2000 00:30:32 +0000 Subject: Replace magic number with constant. (This used to be commit 1a228868cf14418894b798f19955df3276bd1089) --- source3/libsmb/cliconnect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/libsmb') 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; } -- cgit