aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-01-18 07:57:29 +0000
committerChristian Grothoff <christian@grothoff.org>2010-01-18 07:57:29 +0000
commit59dcf5fb56373afd907902d656a113ef46b3f755 (patch)
tree264d45103e8de759bef39199c0613f8849ae7029
parentbc2a106cb71cca45ee66e761df3a0200a1ccb0d1 (diff)
downloadlibextractor-59dcf5fb56373afd907902d656a113ef46b3f755.tar.gz
libextractor-59dcf5fb56373afd907902d656a113ef46b3f755.zip
fixing compiler warning
-rw-r--r--src/main/extractor.c8
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, "_");