removed useless tls binary name #48

Merged
JakeHillion merged 2 commits from tls-no-binary into main 2022-05-23 06:51:40 +01:00
Showing only changes of commit 5bad0766fd - Show all commits

View File

@ -4,11 +4,7 @@ use std::fs::File;
use std::net::{TcpListener, TcpStream}; use std::net::{TcpListener, TcpStream};
fn main() { fn main() {
let mut args = std::env::args(); match std::env::args().next() {
let entrypoint = args.next();
match entrypoint {
Some(s) => match s.as_str() { Some(s) => match s.as_str() {
"connection_listener" => connection_listener_entrypoint(), "connection_listener" => connection_listener_entrypoint(),
"http_handler" => http_handler_entrypoint(), "http_handler" => http_handler_entrypoint(),