svn commit: samba r1889 - branches/SAMBA_2_2/source/lib
paulg at samba.org
paulg at samba.org
Wed Aug 18 17:54:58 GMT 2004
Author: paulg
Date: 2004-08-18 17:54:57 +0000 (Wed, 18 Aug 2004)
New Revision: 1889
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=1889&nolog=1
Log:
Cut down on debug messages from is_in_path. paulg
Modified:
branches/SAMBA_2_2/source/lib/util.c
Changeset:
Modified: branches/SAMBA_2_2/source/lib/util.c
===================================================================
--- branches/SAMBA_2_2/source/lib/util.c 2004-08-18 16:25:41 UTC (rev 1888)
+++ branches/SAMBA_2_2/source/lib/util.c 2004-08-18 17:54:57 UTC (rev 1889)
@@ -1142,15 +1142,14 @@
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(name, '/');
strncpy(last_component, p ? ++p : name, sizeof(last_component)-1);
More information about the samba-cvs
mailing list