proposal: Use proper list to get function pointer when adding custom parser
Signed-off-by: Thomas Egerer <[email protected]>
This commit is contained in:
committed by
Tobias Brunner
parent
dc5b05ea18
commit
c6b9a3a485
@@ -154,7 +154,7 @@ METHOD(proposal_keywords_t, register_algname_parser, void,
|
||||
private_proposal_keywords_t *this, proposal_algname_parser_t parser)
|
||||
{
|
||||
this->lock->write_lock(this->lock);
|
||||
this->tokens->insert_first(this->parsers, parser);
|
||||
this->parsers->insert_first(this->parsers, parser);
|
||||
this->lock->unlock(this->lock);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user