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 authored and Tobias Brunner committed 2016-08-29 16:02:07 +02:00
1 parent dc5b05ea18
commit c6b9a3a485
1 file changed
+1 -1
@@ -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);
}