From 0bef191acd5a77544852e6a3daae2df05bd34a31 Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Wed, 19 Jan 2022 11:20:45 +0000 Subject: [PATCH] Reformat and change send to x-www-form-urlencoded --- bot.cpp | 17 +++++++---------- 1 files changed, 7 insertions(+), 10 deletions(-) diff --git a/bot.cpp b/bot.cpp index 0a25597..9792a39 100644 --- a/bot.cpp +++ b/bot.cpp @@ -5,19 +5,16 @@ void signalHandler(int signum) { - strat::destroy(); - std::exit(0); + strat::destroy(); + std::exit(0); } -void no(int signum) -{ - std::cout << "no." << std::endl; -} +void no(int signum) { std::cout << "no." << std::endl; } int main(void) { - signal(SIGINT, signalHandler); - // signal(SIGTERM, no); - strat::initialise(); - strat::mainLoop(); + signal(SIGINT, signalHandler); + // signal(SIGTERM, no); + strat::initialise(); + strat::mainLoop(); } -- Gitblit v1.9.3