svn commit: samba r1890 - branches/SAMBA_3_0/source/lib
paulg at samba.org
paulg at samba.org
Wed Aug 18 17:55:50 GMT 2004
Author: paulg
Date: 2004-08-18 17:55:50 +0000 (Wed, 18 Aug 2004)
New Revision: 1890
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=1890&nolog=1
Log:
Cut down on debug messages from is_in_path. paulg
Modified:
branches/SAMBA_3_0/source/lib/util.c
Changeset:
Modified: branches/SAMBA_3_0/source/lib/util.c
===================================================================
--- branches/SAMBA_3_0/source/lib/util.c 2004-08-18 17:54:57 UTC (rev 1889)
+++ branches/SAMBA_3_0/source/lib/util.c 2004-08-18 17:55:50 UTC (rev 1890)
@@ -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);
More information about the samba-cvs
mailing list