* 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
pull/254/head^2
Marc Kleine-Budde 2008-12-09 11:43:30 +00:00
parent a16f8ed471
commit 4aaad29082
1 changed files with 3 additions and 2 deletions

View File

@ -105,9 +105,10 @@ int main(int argc, char **argv)
break;
case 'l':
if (optarg)
if (optarg) {
loopcount = strtoul(optarg, NULL, 0);
else
infinite = 0;
} else
infinite = 1;
break;