summaryrefslogtreecommitdiff
path: root/ace/ACE.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/ACE.cpp')
-rw-r--r--ace/ACE.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/ACE.cpp b/ace/ACE.cpp
index 817bd107d9c..207dd5c805e 100644
--- a/ace/ACE.cpp
+++ b/ace/ACE.cpp
@@ -195,7 +195,7 @@ ACE::ldfind (const char filename[],
if (s != 0)
{
// Check whether this matches the appropriate platform-specific suffix.
- if (ACE_OS::strcmp (s + 1, ACE_DLL_SUFFIX) == 0)
+ if (ACE_OS::strcmp (s, ACE_DLL_SUFFIX) == 0)
got_suffix = 1;
else
ACE_ERROR ((LM_WARNING,