[PATCH 2/2] dir.c: correct "stuck" logging logic

2016-03-19 Thread Nguyễn Thái Ngọc Duy
Before the last patch, the loop in last_exclude_matching_from_list() looks like this (greatly simplified of course) exc = NULL; for (...) { if (sticky_paths.nr) { if (matched) { exc = non-NULL; break; } continue; } ... }

[PATCH 2/2] dir.c: correct "stuck" logging logic

2016-03-19 Thread Nguyễn Thái Ngọc Duy
Before the last patch, the loop in last_exclude_matching_from_list() looks like this (greatly simplified of course) exc = NULL; for (...) { if (sticky_paths.nr) { if (matched) { exc = something; break; } continue; } ...