diff options
Diffstat (limited to 'src/main/extractor.c')
-rw-r--r-- | src/main/extractor.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/extractor.c b/src/main/extractor.c index b9e04ef..f0442e4 100644 --- a/src/main/extractor.c +++ b/src/main/extractor.c | |||
@@ -557,10 +557,10 @@ load_plugins_from_dir (void *cls, | |||
557 | { | 557 | { |
558 | if (ent->d_name[0] == '.') | 558 | if (ent->d_name[0] == '.') |
559 | continue; | 559 | continue; |
560 | if ( (NULL != (la = strstr (ent->d_name, ".la"))) && | 560 | if ( ( (NULL != (la = strstr (ent->d_name, ".la"))) && |
561 | (la[3] == '\0') || | 561 | (la[3] == '\0') ) || |
562 | (NULL != (la = strstr (ent->d_name, ".a"))) && | 562 | ( (NULL != (la = strstr (ent->d_name, ".a"))) && |
563 | (la[2] == '\0')) | 563 | (la[2] == '\0')) ) |
564 | continue; /* only load '.so' and '.dll' */ | 564 | continue; /* only load '.so' and '.dll' */ |
565 | 565 | ||
566 | sym_name = strstr (ent->d_name, "_"); | 566 | sym_name = strstr (ent->d_name, "_"); |