summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2000-03-13 11:05:59 +0000
committerJean-François Micouleau <jfm@samba.org>2000-03-13 11:05:59 +0000
commit530a01c2cbf787e4f3ff116aba3e8b392c8871fc (patch)
tree567943ce81876952b34b5e2b35b185e95ca3b818
parent3848759a5e48a142c3fc96beeedbddc8f582da97 (diff)
downloadsamba-530a01c2cbf787e4f3ff116aba3e8b392c8871fc.tar.gz
samba-530a01c2cbf787e4f3ff116aba3e8b392c8871fc.tar.bz2
samba-530a01c2cbf787e4f3ff116aba3e8b392c8871fc.zip
moved #endif to end of function to compile when dfs is disabled.
J.F. (This used to be commit b534fb03b1ef39e5362c29a05cca53782cd157f7)
-rw-r--r--source3/smbd/trans2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index e3dbc91e50..ebcf6b077b 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -2139,7 +2139,6 @@ static int call_trans2getdfsreferral(connection_struct *conn, char* inbuf,
pstring pathname;
int reply_size = 0;
int max_referral_level = SVAL(params,0);
-#endif
DEBUG(10,("call_trans2getdfsreferral\n"));
@@ -2162,6 +2161,7 @@ static int call_trans2getdfsreferral(connection_struct *conn, char* inbuf,
SSVAL(outbuf,smb_flg2,SVAL(outbuf,smb_flg2) | FLAGS2_UNICODE_STRINGS |
FLAGS2_DFS_PATHNAMES);
send_trans2_replies(outbuf,bufsize,0,0,*ppdata,reply_size);
+#endif
return(-1);
}