mirror of
http://www.pogo.org.uk/~mark/trx.git
synced 2024-11-24 11:25:06 +01:00
Don't ignore the rate argument
This commit is contained in:
parent
b1dab96f00
commit
51419766a5
5
rx.c
5
rx.c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user