diff options
author | Samba Release Account <samba-bugs@samba.org> | 1997-07-14 19:45:34 +0000 |
---|---|---|
committer | Samba Release Account <samba-bugs@samba.org> | 1997-07-14 19:45:34 +0000 |
commit | b47121624c8824d3e1d8992cb950ebad52ba5c58 (patch) | |
tree | 383fae1f174b93731971af4fdd553b21a9cdc5df /source/lib | |
parent | 9fda8a6fefd66a1c9f239e0dd41888af3555a22b (diff) | |
download | samba-b47121624c8824d3e1d8992cb950ebad52ba5c58.tar.gz samba-b47121624c8824d3e1d8992cb950ebad52ba5c58.tar.xz samba-b47121624c8824d3e1d8992cb950ebad52ba5c58.zip |
local.h: Removed ununsed SHARE_MODES_XXX defines. Upped SMBD_RELOAD_CHECK
from 10 to 60.
server.c: Removed unused code (was If 0'ed out).
trans2.c: Backed out Luke's ctime->mtime change. I don't think it
is correct. Left the other fixes, though.
util.c: Changed veto/hide files separator back to '/'.
Jeremy (jallison@whistle.com)
Diffstat (limited to 'source/lib')
-rw-r--r-- | source/lib/util.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/lib/util.c b/source/lib/util.c index b7ad0bb5bce..9d6229dbf96 100644 --- a/source/lib/util.c +++ b/source/lib/util.c @@ -3507,14 +3507,14 @@ static BOOL is_in_path(char *name, char *namelist) while (*nameptr) { - if ( *nameptr == '\\' ) + if ( *nameptr == '/' ) { - /* cope with multiple (useless) \s) */ + /* cope with multiple (useless) /s) */ nameptr++; continue; } - /* find the next \ */ - if ((name_end = strchr(nameptr,'\\')) != NULL) + /* find the next / */ + if ((name_end = strchr(nameptr,'/')) != NULL) { *name_end = 0; } @@ -3526,7 +3526,7 @@ static BOOL is_in_path(char *name, char *namelist) return True; } - /* oops - the last check for a \ didn't find one. */ + /* oops - the last check for a / didn't find one. */ if (name_end == NULL) { DEBUG(5,("is_in_path: last name. failed\n")); |