Remove redundant test in fserv.c
This commit is contained in:
@@ -293,7 +293,7 @@ char *fs = NULL;
|
|||||||
*dir = 0;
|
*dir = 0;
|
||||||
for (new = fserv_files; new; new = new->next)
|
for (new = fserv_files; new; new = new->next)
|
||||||
{
|
{
|
||||||
if (!pattern || (pattern && wild_match(pattern, new->filename)))
|
if (!pattern || wild_match(pattern, new->filename))
|
||||||
{
|
{
|
||||||
char *p;
|
char *p;
|
||||||
p = strrchr(new->filename, '/');
|
p = strrchr(new->filename, '/');
|
||||||
|
|||||||
Reference in New Issue
Block a user