1 Commits

Author SHA1 Message Date
ebb7628498 Code cleanup 2025-11-20 11:30:41 -05:00
3 changed files with 1 additions and 6 deletions

View File

@@ -12,9 +12,6 @@
// To Build: From the top menu choose "View", "Command Palette", Then choose CMake: Build OR /usr/bin/cmake --build /home/pi/CPP/sstp/build --config Debug --target all --
// Output will be here. /home/pi/CPP/sstp/build
void handleServer(Block<String> &commands); // handler for server mode
void handleClient(Block<String> &commands); // handler for client mode
bool registerSignalHandler(void); // registers a Control-c handler
void signalHandler(int signal); // The Control-C handler
@@ -28,7 +25,7 @@ int main(int argc, char **argv)
{
int returnCode(0);
Profiler profiler;
String version = "0.1.0.5"; // major version, minor version, patch, build
String version = "1.0.0.6"; // major version, minor version, patch, build
std::cout << "sstp version " << version.str() << std::endl;
if(!registerSignalHandler())

View File

@@ -2,7 +2,6 @@
#include <common/utility.hpp>
#include <common/stringbuffer.hpp>
SocketConnectionReceiver::SocketConnectionReceiver()
: mSocket(-1), mIsRunnable(true)
{

View File

@@ -53,7 +53,6 @@ SocketServer::~SocketServer()
std::cout << "close" << std::endl;
close(); // close the listener socket
std::cout << "~SocketServer, done" << std::endl;
}
/// @brief Join all threads