Commit 8ac41cb1 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

dcp: Fix assignment instead of comparison

CID #1463255 #1463251

(cherry picked from commit a15a0a64)
Signed-off-by: 's avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent 0ecfd991
......@@ -1080,7 +1080,7 @@ int PKL::ParseSigner(string p_node, int p_type)
while( ( type = XmlFile::ReadNextNode( this->p_demux, this->p_xmlReader, node ) ) > 0 ) {
/* TODO not implemented. Just parse until end of Signer node */
if ((node == p_node) && (type = XML_READER_ENDELEM))
if ((node == p_node) && (type == XML_READER_ENDELEM))
return 0;
}
......@@ -1100,7 +1100,7 @@ int PKL::ParseSignature(string p_node, int p_type)
while( ( type = XmlFile::ReadNextNode( this->p_demux, this->p_xmlReader, node ) ) > 0 ) {
/* TODO not implemented. Just parse until end of Signature node */
if ((node == p_node) && (type = XML_READER_ENDELEM))
if ((node == p_node) && (type == XML_READER_ENDELEM))
return 0;
}
msg_Err(this->p_demux, "Parse of Signature finished bad");
......@@ -1506,7 +1506,7 @@ int CPL::DummyParse(string p_node, int p_type)
while( ( type = XmlFile::ReadNextNode( this->p_demux, this->p_xmlReader, node ) ) > 0 ) {
/* TODO not implemented. Just pase until end of input node */
if ((node == p_node) && (type = XML_READER_ENDELEM))
if ((node == p_node) && (type == XML_READER_ENDELEM))
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment