From 8edbceaa4d5b919b8a19db066a4bdef798eefd02 Mon Sep 17 00:00:00 2001 From: Patrick Valsecchi Date: Thu, 10 Oct 2013 13:11:17 +0200 Subject: [PATCH] Use the correct vtable for the Shearwater Petrel. That was an harmless copy&paste error. Signed-off-by: Patrick Valsecchi --- src/shearwater_predator_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shearwater_predator_parser.c b/src/shearwater_predator_parser.c index 43c44b5..320a00c 100644 --- a/src/shearwater_predator_parser.c +++ b/src/shearwater_predator_parser.c @@ -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); }