summaryrefslogtreecommitdiff
path: root/source3/smbd/trans2.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-03-10 19:50:03 +0000
committerJeremy Allison <jra@samba.org>2000-03-10 19:50:03 +0000
commit5e22394654eba2ed5d01e81b165a044a59dd65ab (patch)
tree5d2e03370ee24200bbe8b47b13109c47dc58e1c7 /source3/smbd/trans2.c
parent83ee9372fc18eaef6d00fbc7c1fb68747e2303bb (diff)
downloadsamba-5e22394654eba2ed5d01e81b165a044a59dd65ab.tar.gz
samba-5e22394654eba2ed5d01e81b165a044a59dd65ab.tar.bz2
samba-5e22394654eba2ed5d01e81b165a044a59dd65ab.zip
Fixups for compiles with gcc flags -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual
Partially implemented rpc daemon redirect (needs more work). Jeremy. (This used to be commit a462191698fa589ceac4afd14c652adf699eccad)
Diffstat (limited to 'source3/smbd/trans2.c')
-rw-r--r--source3/smbd/trans2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 21fa9b5cc5..3135079514 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -2132,6 +2132,7 @@ static int call_trans2getdfsreferral(connection_struct *conn, char* inbuf,
char* outbuf, int length, int bufsize,
char** pparams, char** ppdata)
{
+#ifdef MS_DFS
char *params = *pparams;
enum remote_arch_types ra_type = get_remote_arch();
BOOL NT_arch = ((ra_type == RA_WINNT) || (ra_type == RA_WIN2K));
@@ -2139,6 +2140,7 @@ static int call_trans2getdfsreferral(connection_struct *conn, char* inbuf,
int reply_size = 0;
char* dfs_referral = NULL;
int max_referral_level = SVAL(params,0);
+#endif
DEBUG(10,("call_trans2getdfsreferral\n"));
#ifdef MS_DFS