From 2dacf5e00ccfb04ffca977c35d86e3e0fa0b965d Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Fri, 5 Sep 2003 00:55:44 +0000 Subject: Return 0 DFS links instead of -1 when dfs support is not enabled. Possible fix for bug 403. (This used to be commit 6babab93ff845c18f7c0d73e6a016764e31f4fac) --- source3/msdfs/msdfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/msdfs') diff --git a/source3/msdfs/msdfs.c b/source3/msdfs/msdfs.c index 57408b9106..dc326f2eee 100644 --- a/source3/msdfs/msdfs.c +++ b/source3/msdfs/msdfs.c @@ -917,7 +917,7 @@ int enum_msdfs_links(struct junction_map* jn) int jn_count = 0; if(!lp_host_msdfs()) - return -1; + return 0; for(i=0;*lp_servicename(i);i++) { if(lp_msdfs_root(i)) -- cgit