summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-11-26 17:31:11 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-11-26 17:31:29 +0100
commit9eaf15563ac51a802e3ce84af3ee49cedf4f4484 (patch)
treefc3a5b9a5428fd24c44ebd487266095486ecf6aa /sax
parente06ef25aea312380411753f735da14a1e224a2e2 (diff)
Presumably wants to use strcmp
Change-Id: I978a692fbf464b476811b445b16c7e1b0eec9e25
Diffstat (limited to 'sax')
-rw-r--r--sax/source/fastparser/fastparser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx
index 1bfb15e6a439..a6bbfbb0fd66 100644
--- a/sax/source/fastparser/fastparser.cxx
+++ b/sax/source/fastparser/fastparser.cxx
@@ -950,7 +950,7 @@ void FastSaxParser::callbackStartElement( const XML_Char* pwName, const XML_Char
assert(awAttributes[i+1]);
if( awAttributes[i][0] != 'x' ||
- strncmp( awAttributes[i], "xmlns") != 0 )
+ strcmp( awAttributes[i], "xmlns") != 0 )
continue;
splitName( awAttributes[i], pPrefix, nPrefixLen, pName, nNameLen );