Skip to content

Commit 85736d1

Browse files
committed
Refactor small bug: auto connect not working with default port
1 parent 378c730 commit 85736d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bt_editor/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ main(int argc, char *argv[])
102102
if(!ok) server_port = 1667;
103103
}
104104

105-
if(ok && (publisher_port != 1666 || server_port != 1667))
105+
if(ok)
106106
monitor_options = new MonitorOptions(publisher_port, server_port, parser.isSet(auto_connect_option));
107107

108108
}

0 commit comments

Comments
 (0)