]> git.ipfire.org Git - thirdparty/ulogd2.git/commit
db: add missing `break` to switch case
authorJeremy Sowden <jeremy@azazel.net>
Tue, 30 Nov 2021 10:55:30 +0000 (10:55 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 30 Nov 2021 19:55:17 +0000 (20:55 +0100)
commite9ae548078135f047b855177906040d86d75ee08
tree7c97b6e4e4d14e9fd6fb6f5aec5989a50ba5c360
parentd76c39b996703f6b0192225b277ce0c5ac79dca4
db: add missing `break` to switch case

When formatting DB queries, if we get a input key of type `RAW`, we log
a message indicating that `RAW` is unsupported, then fall through to the
default case, which logs another message that the key type is unknown.
Add the missing `break` statement to prevent the fall-through.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
util/db.c