summaryrefslogtreecommitdiff
path: root/source3/smbd/error.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-08-17 13:44:05 +0000
committerAndrew Tridgell <tridge@samba.org>1998-08-17 13:44:05 +0000
commitdd2e202e5c8d6220e29becb48fde333fa5258794 (patch)
tree92168e7b927f563e673d8f98f5851689b2a2cbe8 /source3/smbd/error.c
parentc3effa8b599a6a0a2fe05487edc3a0d13e83d427 (diff)
downloadsamba-dd2e202e5c8d6220e29becb48fde333fa5258794.tar.gz
samba-dd2e202e5c8d6220e29becb48fde333fa5258794.tar.bz2
samba-dd2e202e5c8d6220e29becb48fde333fa5258794.zip
move soem variables from server.c that don't belong there.
(This used to be commit f92475aa3cb3ade576c39c02c7996c949c42082a)
Diffstat (limited to 'source3/smbd/error.c')
-rw-r--r--source3/smbd/error.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/error.c b/source3/smbd/error.c
index ea23d8b28d..d879f9a93c 100644
--- a/source3/smbd/error.c
+++ b/source3/smbd/error.c
@@ -23,6 +23,10 @@
extern int DEBUGLEVEL;
+/* these can be set by some functions to override the error codes */
+int unix_ERR_class=SMB_SUCCESS;
+int unix_ERR_code=0;
+
/****************************************************************************
create an error packet from a cached error.