remove some stupid debug prints
This commit is contained in:
parent
370cc40d7f
commit
0a784ea439
|
|
@ -315,11 +315,9 @@ void InitDirectory(const char* directory, ArchiveModules& archiveModules)
|
||||||
|
|
||||||
for(j = 0; j < g_numForbiddenDirs; ++j)
|
for(j = 0; j < g_numForbiddenDirs; ++j)
|
||||||
{
|
{
|
||||||
printf("match against %s?\n", g_strForbiddenDirs[j]);
|
|
||||||
if(!string_compare_nocase_upper(directory, g_strForbiddenDirs[j])
|
if(!string_compare_nocase_upper(directory, g_strForbiddenDirs[j])
|
||||||
|| (string_length(directory) > string_length(g_strForbiddenDirs[j]) && directory[string_length(directory) - string_length(g_strForbiddenDirs[j]) - 1] == '/' && !string_compare_nocase_upper(directory + string_length(directory) - string_length(g_strForbiddenDirs[j]), g_strForbiddenDirs[j])))
|
|| (string_length(directory) > string_length(g_strForbiddenDirs[j]) && directory[string_length(directory) - string_length(g_strForbiddenDirs[j]) - 1] == '/' && !string_compare_nocase_upper(directory + string_length(directory) - string_length(g_strForbiddenDirs[j]), g_strForbiddenDirs[j])))
|
||||||
break;
|
break;
|
||||||
printf("not matched\n");
|
|
||||||
}
|
}
|
||||||
if(j < g_numForbiddenDirs)
|
if(j < g_numForbiddenDirs)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user