mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-06 06:49:53 +02:00
0fb5680a6151c04651472030fe78bae4de9e0114
nbytes is used after writing the CAN frame to check for an additional command in the string buffer. Therefore using nbytes while writing the CAN frame is wrong. Replace it with 'tmp' which can be used here without problems. Signed-off-by: ulrich escher<git@myvdr.de> Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Description
Linux-CAN / SocketCAN user space applications
2.9 MiB
Languages
C
98.1%
CMake
0.7%
Makefile
0.6%
Shell
0.5%