Daniel Nephin 76787d4dd0 Fix error checking
There were two identical if lines, remove one and use a switch/case so the compiler
can catch this problem.
2021-02-16 14:40:15 -05:00
..
2020-12-07 13:42:55 -05:00
2021-01-07 18:47:38 -05:00
2021-02-16 14:40:15 -05:00
2020-11-17 18:16:26 -05:00
2020-11-16 11:02:11 -08:00
2021-01-27 17:34:43 -05:00