mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
Use user id instead of ice username
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include "signal_server.h"
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
SignalServer s;
|
||||
std::string port = "";
|
||||
if (argc > 1) {
|
||||
port = argv[1];
|
||||
} else {
|
||||
port = "9090";
|
||||
}
|
||||
std::cout << "Port: " << port << std::endl;
|
||||
s.run(std::stoi(port));
|
||||
return 0;
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include "signal_server.h"
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
SignalServer s;
|
||||
std::string port = "";
|
||||
if (argc > 1) {
|
||||
port = argv[1];
|
||||
} else {
|
||||
port = "9090";
|
||||
}
|
||||
std::cout << "Port: " << port << std::endl;
|
||||
s.run(std::stoi(port));
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user