From 530a01c2cbf787e4f3ff116aba3e8b392c8871fc Mon Sep 17 00:00:00 2001 From: Jean-François Micouleau Date: Mon, 13 Mar 2000 11:05:59 +0000 Subject: moved #endif to end of function to compile when dfs is disabled. J.F. (This used to be commit b534fb03b1ef39e5362c29a05cca53782cd157f7) --- source3/smbd/trans2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd/trans2.c') 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); } -- cgit