summaryrefslogtreecommitdiffstats
path: root/src/fig/FIG0_6.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-10-03 21:29:51 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-10-03 21:29:51 +0200
commita951ea2f636360f724ef35e8aabd859e46d42290 (patch)
tree1e60b417b4cb57c97ef49f44eea2cca432e89b06 /src/fig/FIG0_6.cpp
parent3342f01f9a0e6f1effc7a698208a072d4a120ff8 (diff)
downloaddabmux-a951ea2f636360f724ef35e8aabd859e46d42290.tar.gz
dabmux-a951ea2f636360f724ef35e8aabd859e46d42290.tar.bz2
dabmux-a951ea2f636360f724ef35e8aabd859e46d42290.zip
Add missing else if in FIG0/6
Diffstat (limited to 'src/fig/FIG0_6.cpp')
-rw-r--r--src/fig/FIG0_6.cpp2
1 files changed, 1 insertions, 1 deletions
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;