From 8b0cbccc7b11e545ed27bc6d7bda04b5cf632e60 Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 12 Nov 2014 01:23:55 +0000 Subject: Command line prog cleanup --- src/cmd/tls_server_asio.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/cmd/tls_server_asio.cpp') diff --git a/src/cmd/tls_server_asio.cpp b/src/cmd/tls_server_asio.cpp index f0847b9e0..33d743e4f 100644 --- a/src/cmd/tls_server_asio.cpp +++ b/src/cmd/tls_server_asio.cpp @@ -276,9 +276,7 @@ size_t choose_thread_count() return 2; } -} - -int tls_server_asio_main(int argc, char* argv[]) +int tls_server_asio(int argc, char* argv[]) { try { @@ -315,4 +313,8 @@ int tls_server_asio_main(int argc, char* argv[]) return 0; } +} + +REGISTER_APP(tls_server_asio); + #endif -- cgit v1.2.3