summaryrefslogtreecommitdiffstats
path: root/source3/msdfs/msdfs.c
diff options
context:
space:
mode:
authorShirish Kalele <kalele@samba.org>2000-03-10 23:13:11 +0000
committerShirish Kalele <kalele@samba.org>2000-03-10 23:13:11 +0000
commitd50abdee22f1573890e16bd4f2a70fe2b20b53fe (patch)
treee2195d2961ec828d63ec4080449f2f98075f5b2c /source3/msdfs/msdfs.c
parentf2d86add3840e2f98d57a841721d71ee8b0e5244 (diff)
downloadsamba-d50abdee22f1573890e16bd4f2a70fe2b20b53fe.tar.gz
samba-d50abdee22f1573890e16bd4f2a70fe2b20b53fe.tar.xz
samba-d50abdee22f1573890e16bd4f2a70fe2b20b53fe.zip
Cleaned up unused variables, returns from non-void functions etc.
(This used to be commit 6ce72c37429c3fc0629fdbd5f5656f07970a8e4a)
Diffstat (limited to 'source3/msdfs/msdfs.c')
-rw-r--r--source3/msdfs/msdfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/msdfs/msdfs.c b/source3/msdfs/msdfs.c
index a78f3618cb0..05e1f221b82 100644
--- a/source3/msdfs/msdfs.c
+++ b/source3/msdfs/msdfs.c
@@ -198,7 +198,7 @@ int setup_dfs_referral(char* pathname, int max_referral_level,
char* map = lp_dfsmap(lp_servicenumber(dp.servicename));
DEBUG(10,("lp_dfsmap in setup dfs referral: .%s.\n",map ));
- if(map == NULL | *map == '\0')
+ if(map == NULL || (*map == '\0'))
return -1;
}