From 9eaf15563ac51a802e3ce84af3ee49cedf4f4484 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 26 Nov 2013 17:31:11 +0100 Subject: Presumably wants to use strcmp Change-Id: I978a692fbf464b476811b445b16c7e1b0eec9e25 --- sax/source/fastparser/fastparser.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sax') 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 ); -- cgit