Skip to content

Commit 24dd8c0

Browse files
armelvilmpiatka
authored andcommitted
Update hd-rum-translator.cpp
- fix typo - fix "c" to "n" in case statement line 669
1 parent b17135d commit 24dd8c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hd-rum-translator/hd-rum-translator.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ static int parse_global_opts(int argc, char **argv,
655655
{ "verbose", optional_argument, nullptr, 'V'},
656656
{ "capabilities", no_argument, nullptr, 'b'},
657657
{ "help", no_argument, nullptr, 'h'},
658-
{ "contol-port", required_argument, nullptr, 'n'},
658+
{ "control-port", required_argument, nullptr, 'n'},
659659
{ "conference", required_argument, nullptr, 'r'},
660660
{ "version", no_argument, nullptr, 'v'},
661661
{ nullptr, 0, nullptr, 0 }
@@ -666,7 +666,7 @@ static int parse_global_opts(int argc, char **argv,
666666
while ((ch = getopt_long(argc, argv, optstring, getopt_options,
667667
nullptr)) != -1) {
668668
switch (ch) {
669-
case 'c':
669+
case 'n':
670670
parsed->control_port = stoi(optarg);
671671
parsed->control_connection_type = 0;
672672
if (strchr(optarg, ':') != nullptr) {

0 commit comments

Comments
 (0)