diff options
Diffstat (limited to 'source/smbd/negprot.c')
-rw-r--r-- | source/smbd/negprot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/negprot.c b/source/smbd/negprot.c index b1e8a65c949..6a9cc9fb9bd 100644 --- a/source/smbd/negprot.c +++ b/source/smbd/negprot.c @@ -156,8 +156,8 @@ reply for the nt protocol static int reply_nt1(char *outbuf) { /* dual names + lock_and_read + nt SMBs + remote API calls */ - int capabilities = CAP_NT_FIND|CAP_LOCK_AND_READ|CAP_RPC_REMOTE_APIS | - lp_nt_smb_support() ? CAP_NT_SMBS : 0; + int capabilities = CAP_NT_FIND|CAP_LOCK_AND_READ| + (lp_nt_smb_support() ? CAP_NT_SMBS | CAP_RPC_REMOTE_APIS : 0); /* other valid capabilities which we may support at some time... |