summaryrefslogtreecommitdiffstats
path: root/source/smbd/process.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-12-18 18:10:09 -0800
committerJeremy Allison <jra@samba.org>2007-12-18 18:10:09 -0800
commitc378c3edc1197d46c5d6eb2bcabbf9e774c03ffc (patch)
tree30a22c9818d804974e05d373d750666de0cbc00c /source/smbd/process.c
parentf9182bbe628cb5f5395a08b2e09d4a282a99d7dc (diff)
downloadsamba-c378c3edc1197d46c5d6eb2bcabbf9e774c03ffc.tar.gz
samba-c378c3edc1197d46c5d6eb2bcabbf9e774c03ffc.tar.xz
samba-c378c3edc1197d46c5d6eb2bcabbf9e774c03ffc.zip
Remove last_message completely as it's no longer used.
Jeremy.
Diffstat (limited to 'source/smbd/process.c')
-rw-r--r--source/smbd/process.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/smbd/process.c b/source/smbd/process.c
index ffc9e106f60..ee76f90bf51 100644
--- a/source/smbd/process.c
+++ b/source/smbd/process.c
@@ -38,7 +38,6 @@ int max_send = BUFFER_SIZE;
*/
int max_recv = BUFFER_SIZE;
-extern int last_message;
SIG_ATOMIC_T reload_after_sighup = 0;
SIG_ATOMIC_T got_sig_term = 0;
extern bool global_machine_password_needs_changing;
@@ -1308,8 +1307,6 @@ static void switch_message(uint8 type, struct smb_request *req, int size)
errno = 0;
- last_message = type;
-
/* Make sure this is an SMB packet. smb_size contains NetBIOS header
* so subtract 4 from it. */
if ((strncmp(smb_base(req->inbuf),"\377SMB",4) != 0)