kopia lustrzana https://github.com/keenerd/rtl-sdr
fix off-by-one in argument handling
Signed-off-by: Steve Markgraf <steve@steve-m.de>pull/1/merge
rodzic
e07189cea1
commit
6b99aedc4d
|
@ -141,7 +141,7 @@ int main(int argc, char **argv)
|
||||||
filename = argv[optind];
|
filename = argv[optind];
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
if(argc <5)
|
if(argc <6)
|
||||||
usage();
|
usage();
|
||||||
dev_index = atoi(argv[1]);
|
dev_index = atoi(argv[1]);
|
||||||
samp_rate = atoi(argv[2])*1000;
|
samp_rate = atoi(argv[2])*1000;
|
||||||
|
|
Ładowanie…
Reference in New Issue