aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd/tls_server_asio.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-11-12 01:23:55 +0000
committerlloyd <[email protected]>2014-11-12 01:23:55 +0000
commit8b0cbccc7b11e545ed27bc6d7bda04b5cf632e60 (patch)
tree7ea9368d6ccaa85337a63b55e8bd15efa46fd357 /src/cmd/tls_server_asio.cpp
parent67161b91163afad417f9483cb557b26c5f5f4bc0 (diff)
Command line prog cleanup
Diffstat (limited to 'src/cmd/tls_server_asio.cpp')
-rw-r--r--src/cmd/tls_server_asio.cpp8
1 files changed, 5 insertions, 3 deletions
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