[SCM] Samba Shared Repository - branch v3-2-test updated -
initial-v3-2-unstable-719-gc378c3e
Jeremy Allison
jra at samba.org
Wed Dec 19 02:10:49 GMT 2007
The branch, v3-2-test has been updated
via c378c3edc1197d46c5d6eb2bcabbf9e774c03ffc (commit)
from f9182bbe628cb5f5395a08b2e09d4a282a99d7dc (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit c378c3edc1197d46c5d6eb2bcabbf9e774c03ffc
Author: Jeremy Allison <jra at samba.org>
Date: Tue Dec 18 18:10:09 2007 -0800
Remove last_message completely as it's no longer used.
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source/smbd/process.c | 3 ---
source/smbd/server.c | 6 ------
2 files changed, 0 insertions(+), 9 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/smbd/process.c b/source/smbd/process.c
index ffc9e10..ee76f90 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)
diff --git a/source/smbd/server.c b/source/smbd/server.c
index 574197d..4003707 100644
--- a/source/smbd/server.c
+++ b/source/smbd/server.c
@@ -27,12 +27,6 @@ static_decl_rpc;
static int am_parent = 1;
-/* the last message the was processed */
-int last_message = -1;
-
-/* a useful macro to debug the last message processed */
-#define LAST_MESSAGE() smb_fn_name(last_message)
-
extern struct auth_context *negprot_global_auth_context;
extern SIG_ATOMIC_T got_sig_term;
extern SIG_ATOMIC_T reload_after_sighup;
--
Samba Shared Repository
More information about the samba-cvs
mailing list