cansniffer: remove unnecessary parenthesis

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
pull/486/head
Oliver Hartkopp 2023-12-08 17:14:49 +01:00
parent c31addfa9c
commit 689f103142
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ int main(int argc, char **argv)
opts.rx_ext_address = tmpext;
}
if ((setsockopt(t, SOL_CAN_ISOTP, CAN_ISOTP_OPTS, &opts, sizeof(opts))) < 0) {
if (setsockopt(t, SOL_CAN_ISOTP, CAN_ISOTP_OPTS, &opts, sizeof(opts)) < 0) {
perror("setsockopt");
r = 1;
goto out;