Author: paulg Date: 2004-08-18 17:56:50 +0000 (Wed, 18 Aug 2004) New Revision: 1891
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=1891&nolog=1 Log: Cut down on debug messages from is_in_path. paulg Modified: trunk/source/lib/util.c Changeset: Modified: trunk/source/lib/util.c =================================================================== --- trunk/source/lib/util.c 2004-08-18 17:55:50 UTC (rev 1890) +++ trunk/source/lib/util.c 2004-08-18 17:56:50 UTC (rev 1891) @@ -1495,14 +1495,13 @@ 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);