diff options
Diffstat (limited to 'src/server/main.cpp')
| -rw-r--r-- | src/server/main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/server/main.cpp b/src/server/main.cpp index 6315460..42b7668 100644 --- a/src/server/main.cpp +++ b/src/server/main.cpp @@ -4,7 +4,7 @@ #include <stdexcept> #include <string> -#include "shared_memory_server.h" +#include "server.h" Server<int, int> shm; @@ -13,7 +13,8 @@ Server<int, int> shm; * * @param signal Specifies the signal, which was caught. */ -void signal_handler(int signal) { +void signal_handler(int signal) +{ if (signal == SIGINT) { std::cout << "Server shutting down" << '\n'; exit(0); |