git.samba.org
/
garming
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01da7d5
)
removed stat() call in lp_add_home()
author
Gerald Carter
<jerry@samba.org>
Wed, 9 Oct 2002 17:44:02 +0000
(17:44 +0000)
committer
Gerald Carter
<jerry@samba.org>
Wed, 9 Oct 2002 17:44:02 +0000
(17:44 +0000)
(This used to be commit
07c7048aa4ef37f1b7af228ede391ab16503d9a1
)
source3/param/loadparm.c
patch
|
blob
|
history
diff --git
a/source3/param/loadparm.c
b/source3/param/loadparm.c
index a0c77a0421074ea2f8a2dcd4dfb13d8c62c41ff5..500119575a9f84d2b99a0e21dfaef7bc70121481 100644
(file)
--- 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)