mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-05 14:29:54 +02:00
* src/cansequence.c:
obay loop option git-svn-id: https://iocaste.extern.pengutronix.de/svn/canutils/trunks/canutils-3.0-trunk@104 5fd5a299-6ef2-0310-aa18-8b01d7c39d8c
This commit is contained in:
+3
-2
@@ -105,9 +105,10 @@ int main(int argc, char **argv)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'l':
|
case 'l':
|
||||||
if (optarg)
|
if (optarg) {
|
||||||
loopcount = strtoul(optarg, NULL, 0);
|
loopcount = strtoul(optarg, NULL, 0);
|
||||||
else
|
infinite = 0;
|
||||||
|
} else
|
||||||
infinite = 1;
|
infinite = 1;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user