summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-10-09 17:42:06 +0000
committerGerald Carter <jerry@samba.org>2002-10-09 17:42:06 +0000
commitd45a623666a9f02d02009b3b8cd093de62577fec (patch)
tree423b87934c0000e3556f6a8a1d3c44bb38412a5c /source3
parentb57d0e060df0a83b0e74439974563c46796064a1 (diff)
downloadsamba-d45a623666a9f02d02009b3b8cd093de62577fec.tar.gz
samba-d45a623666a9f02d02009b3b8cd093de62577fec.tar.bz2
samba-d45a623666a9f02d02009b3b8cd093de62577fec.zip
removed stat() call in lp_add_home()
(This used to be commit 68036f4a415d2d2ad8c27320ae58fee04eee2960)
Diffstat (limited to 'source3')
-rw-r--r--source3/param/loadparm.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index a0c77a0421..500119575a 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -1977,13 +1977,6 @@ BOOL lp_add_home(const char *pszHomename, int iDefaultService,
int i;
pstring newHomedir;
- SMB_STRUCT_STAT buf;
-
- /* if the user's home directory doesn't exist, then don't
- add it to the list of available shares */
- if (sys_stat(pszHomedir, &buf))
- return False;
-
i = add_a_service(ServicePtrs[iDefaultService], pszHomename);
if (i < 0)