/branches/network/uspace/srv/net/app/ping/ping.c |
---|
149,7 → 149,7 |
printf( "Task %d - ", task_get_id()); |
printf( "%s\n", NAME ); |
for( index = 1; index < argc - 1; ++ index ){ |
for( index = 1; ( index < argc - 1 ) || (( index == argc ) && ( argv[ index ][ 0 ] == '-' )); ++ index ){ |
if( argv[ index ][ 0 ] == '-' ){ |
switch( argv[ index ][ 1 ] ){ |
case 'c': ERROR_PROPAGATE( parse_parameter_int( argc, argv, & index, & count, "count", 0 )); |