Use the correct vtable for the Shearwater Petrel.

That was an harmless copy&paste error.

Signed-off-by: Patrick Valsecchi <patrick@thus.ch>
This commit is contained in:
Patrick Valsecchi 2013-10-10 13:11:17 +02:00 committed by Jef Driesen
parent 8e0355c354
commit 8edbceaa4d

View File

@ -88,7 +88,7 @@ shearwater_common_parser_create (dc_parser_t **out, dc_context_t *context, unsig
// Initialize the base class.
parser->petrel = petrel;
if (petrel) {
parser_init (&parser->base, context, &shearwater_predator_parser_vtable);
parser_init (&parser->base, context, &shearwater_petrel_parser_vtable);
} else {
parser_init (&parser->base, context, &shearwater_predator_parser_vtable);
}