1
0
mirror of http://www.pogo.org.uk/~mark/trx.git synced 2024-11-21 18:05:06 +01:00

Don't ignore the rate argument

This commit is contained in:
Mark Hills 2012-07-29 18:12:42 +01:00
parent b1dab96f00
commit 51419766a5

5
rx.c
View File

@ -177,7 +177,7 @@ int main(int argc, char *argv[])
for (;;) {
int c;
c = getopt(argc, argv, "c:d:h:j:m:p:v:");
c = getopt(argc, argv, "c:d:h:j:m:p:r:v:");
if (c == -1)
break;
switch (c) {
@ -199,6 +199,9 @@ int main(int argc, char *argv[])
case 'p':
port = atoi(optarg);
break;
case 'r':
rate = atoi(optarg);
break;
case 'v':
verbose = atoi(optarg);
break;