summaryrefslogtreecommitdiff
path: root/source3/smbd/nttrans.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-01-08 12:03:45 +0100
committerStefan Metzmacher <metze@samba.org>2009-01-08 12:22:21 +0100
commit3dde0cbb769b92d922be13677ad076cae9b6a693 (patch)
tree78594e39465f545c7252eaef7bc469ceb80c4d71 /source3/smbd/nttrans.c
parentdefb574c2573a73335a2735e89e4cb5f96c4c069 (diff)
downloadsamba-3dde0cbb769b92d922be13677ad076cae9b6a693.tar.gz
samba-3dde0cbb769b92d922be13677ad076cae9b6a693.tar.bz2
samba-3dde0cbb769b92d922be13677ad076cae9b6a693.zip
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
Diffstat (limited to 'source3/smbd/nttrans.c')
-rw-r--r--source3/smbd/nttrans.c7
1 files changed, 3 insertions, 4 deletions
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));
}