summaryrefslogtreecommitdiffstats
path: root/source3/smbd/reply.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-05-26 15:20:36 +0200
committerStefan Metzmacher <metze@samba.org>2009-06-03 17:54:37 +0200
commitf554af187161a006c3f51edd129e53500acc9046 (patch)
tree93a5aff07e209924c6ef0e874f745ad5b18db9aa /source3/smbd/reply.c
parentd9843b3db4ba6961ba1af01f8393b7e744df5927 (diff)
downloadsamba-f554af187161a006c3f51edd129e53500acc9046.tar.gz
samba-f554af187161a006c3f51edd129e53500acc9046.tar.xz
samba-f554af187161a006c3f51edd129e53500acc9046.zip
s3:smbd: move already_got_session to struct smbd_server_connection
metze
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r--source3/smbd/reply.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 16fc61955d8..f71fde1818e 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -523,7 +523,7 @@ void reply_special(char *inbuf)
switch (msg_type) {
case 0x81: /* session request */
- if (already_got_session) {
+ if (sconn->nbt.got_session) {
exit_server_cleanly("multiple session request not permitted");
}
@@ -567,7 +567,7 @@ void reply_special(char *inbuf)
reload_services(True);
reopen_logs();
- already_got_session = True;
+ sconn->nbt.got_session = true;
break;
case 0x89: /* session keepalive request