]> git.ipfire.org Git - thirdparty/nftables.git/commit
cache: do not set error code twice
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 12 Jan 2022 00:33:59 +0000 (01:33 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 15 Jan 2022 17:15:23 +0000 (18:15 +0100)
commitaf03f4bde32a02b7a97bae586a45a05c9bdbd5a0
treeae2f3005da29a9e10064ccbaeed6f8829048a6e3
parentafbd102211dcc52dfdc2332e171d21e769f7e70e
cache: do not set error code twice

The 'ret' variable is already set to a negative value to report an
error, do not set it again to a negative value.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/cache.c