summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-01-11 03:23:16 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-01-11 03:23:16 +0000
commit674c750df7f3725d460631c3200f284767bbb6cf (patch)
tree2cbc67f08f603b8ade22a4d9226a9a92a52a7e55
parent27b05b4df9c4c5b39a817c131f32443912242942 (diff)
downloadsamba-674c750df7f3725d460631c3200f284767bbb6cf.tar.gz
samba-674c750df7f3725d460631c3200f284767bbb6cf.tar.bz2
samba-674c750df7f3725d460631c3200f284767bbb6cf.zip
No point having this for both parts of the 'if' statement.
Andrew Bartlett (This used to be commit 3b2e5f68cd4e1ff07dbd0032f521b3ba6e53746a)
-rw-r--r--source3/smbd/sesssetup.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c
index f8e8e017e0..f689893fab 100644
--- a/source3/smbd/sesssetup.c
+++ b/source3/smbd/sesssetup.c
@@ -830,10 +830,8 @@ int reply_sesssetup_and_X(connection_struct *conn, char *inbuf,char *outbuf,
}
/* it's ok - setup a reply */
- if (Protocol < PROTOCOL_NT1) {
- set_message(outbuf,3,0,True);
- } else {
- set_message(outbuf,3,0,True);
+ set_message(outbuf,3,0,True);
+ if (Protocol == PROTOCOL_NT1) {
add_signature(outbuf);
/* perhaps grab OS version here?? */
}