proposal: Use proper list to get function pointer when adding custom parser

Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
This commit is contained in:
Thomas Egerer 2016-02-24 19:09:37 +01:00 committed by Tobias Brunner
parent dc5b05ea18
commit c6b9a3a485
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}