mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-09 23:26:47 +02:00
Reformat code
This commit is contained in:
parent
c6518a4709
commit
e1c8250876
32 changed files with 505 additions and 351 deletions
|
@ -321,7 +321,9 @@ int main(int argc, char* argv[])
|
|||
|
||||
// Construct a signal set registered for process termination.
|
||||
boost::asio::signal_set signals(io_context, SIGHUP, SIGINT, SIGTERM);
|
||||
signals.async_wait([&io_context](const boost::system::error_code& ec, int signal) {
|
||||
signals.async_wait(
|
||||
[&io_context](const boost::system::error_code& ec, int signal)
|
||||
{
|
||||
if (!ec)
|
||||
LOG(INFO, LOG_TAG) << "Received signal " << signal << ": " << strsignal(signal) << "\n";
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue