diff options
author | Paul Green <paulg@samba.org> | 2004-08-18 17:55:50 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:52:23 -0500 |
commit | 3ced3cd8aee4d7c9320a49fd9945977a9dcf8992 (patch) | |
tree | 165824f2beeda888442c26ba2629a23b678cc2d9 /source3 | |
parent | 33b2bc49306fcac00e7b38fa5c402c6568493938 (diff) | |
download | samba-3ced3cd8aee4d7c9320a49fd9945977a9dcf8992.tar.gz samba-3ced3cd8aee4d7c9320a49fd9945977a9dcf8992.tar.bz2 samba-3ced3cd8aee4d7c9320a49fd9945977a9dcf8992.zip |
r1890: Cut down on debug messages from is_in_path. paulg
(This used to be commit 8b1c2126af3f29a3708b6823616ecec43ce63b95)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/util.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index 554f5ee79d..37933d1361 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -1495,14 +1495,13 @@ BOOL is_in_path(const char *name, name_compare_entry *namelist, BOOL case_sensit pstring last_component; char *p; - DEBUG(8, ("is_in_path: %s\n", name)); - /* if we have no list it's obviously not in the path */ if((namelist == NULL ) || ((namelist != NULL) && (namelist[0].name == NULL))) { - DEBUG(8,("is_in_path: no name list.\n")); return False; } + DEBUG(8, ("is_in_path: %s\n", name)); + /* Get the last component of the unix name. */ p = strrchr_m(name, '/'); strncpy(last_component, p ? ++p : name, sizeof(last_component)-1); |