Removed some debug logging
This commit is contained in:
parent
d663640948
commit
c712893316
@ -270,7 +270,6 @@ void add_path(char *path)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (strlen(path) == 0) {
|
if (strlen(path) == 0) {
|
||||||
Syslog('d', "add_path() empty pathname");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -284,7 +283,6 @@ void add_path(char *path)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Syslog('d', "add_path(%s)", path);
|
|
||||||
if (lstat(path, &sb) == 0) {
|
if (lstat(path, &sb) == 0) {
|
||||||
if (S_ISDIR(sb.st_mode)) {
|
if (S_ISDIR(sb.st_mode)) {
|
||||||
|
|
||||||
@ -343,7 +341,6 @@ void add_path(char *path)
|
|||||||
*/
|
*/
|
||||||
if ((p = strrchr(path, '/')))
|
if ((p = strrchr(path, '/')))
|
||||||
*p = '\0';
|
*p = '\0';
|
||||||
Syslog('d', "Recursive add name %s", path);
|
|
||||||
add_path(path);
|
add_path(path);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -354,7 +351,6 @@ void add_path(char *path)
|
|||||||
*/
|
*/
|
||||||
if ((p = strrchr(path, '/')))
|
if ((p = strrchr(path, '/')))
|
||||||
*p = '\0';
|
*p = '\0';
|
||||||
Syslog('d', "Recursive add name %s", path);
|
|
||||||
add_path(path);
|
add_path(path);
|
||||||
}
|
}
|
||||||
recursecount--;
|
recursecount--;
|
||||||
|
Reference in New Issue
Block a user