From a951ea2f636360f724ef35e8aabd859e46d42290 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 3 Oct 2016 21:29:51 +0200 Subject: Add missing else if in FIG0/6 --- src/fig/FIG0_6.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fig/FIG0_6.cpp b/src/fig/FIG0_6.cpp index 7c09078..401606e 100644 --- a/src/fig/FIG0_6.cpp +++ b/src/fig/FIG0_6.cpp @@ -154,7 +154,7 @@ FillStatus FIG0_6::fill(uint8_t *buf, size_t max_size) remaining -= 2; } } - if (not PD and ILS) { + else if (not PD and ILS) { buf[0] = ensemble->ecc; buf[1] = (*keyservice)->id >> 8; buf[2] = (*keyservice)->id & 0xFF; -- cgit v1.2.3