From 3dde0cbb769b92d922be13677ad076cae9b6a693 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 8 Jan 2009 12:03:45 +0100 Subject: s3:smbd: move all globals and static variables in globals.[ch] The goal is to move all this variables into a big context structure. metze --- source3/smbd/nttrans.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'source3/smbd/nttrans.c') diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index db92e28610..f1423c028e 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -19,8 +19,8 @@ */ #include "includes.h" +#include "smbd/globals.h" -extern int max_send; extern enum protocol_types Protocol; extern const struct generic_mapping file_generic_mapping; @@ -1770,7 +1770,6 @@ static void call_nt_transact_ioctl(connection_struct *conn, files_struct *fsp; uint8 isFSctl; uint8 compfilter; - static bool logged_message; char *pdata = *ppdata; if (setup_count != 8) { @@ -2030,8 +2029,8 @@ static void call_nt_transact_ioctl(connection_struct *conn, return; } default: - if (!logged_message) { - logged_message = True; /* Only print this once... */ + if (!logged_ioctl_message) { + logged_ioctl_message = true; /* Only print this once... */ DEBUG(0,("call_nt_transact_ioctl(0x%x): Currently not implemented.\n", function)); } -- cgit