mirror of
https://github.com/oe7drt/YSFClients.git
synced 2025-12-06 05:32:02 +01:00
Fix signal logging.
This commit is contained in:
parent
6127174cfc
commit
8011768b96
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2016-2020 by Jonathan Naylor G4KLX
|
* Copyright (C) 2016-2020,2024 by Jonathan Naylor G4KLX
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
@ -110,6 +110,8 @@ int main(int argc, char** argv)
|
||||||
delete gateway;
|
delete gateway;
|
||||||
|
|
||||||
switch (m_signal) {
|
switch (m_signal) {
|
||||||
|
case 0:
|
||||||
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
::LogInfo("DGIdGateway-%s exited on receipt of SIGINT", VERSION);
|
::LogInfo("DGIdGateway-%s exited on receipt of SIGINT", VERSION);
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,6 @@
|
||||||
#if !defined(VERSION_H)
|
#if !defined(VERSION_H)
|
||||||
#define VERSION_H
|
#define VERSION_H
|
||||||
|
|
||||||
const char* VERSION = "20240708";
|
const char* VERSION = "20240831";
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,6 @@
|
||||||
#if !defined(VERSION_H)
|
#if !defined(VERSION_H)
|
||||||
#define VERSION_H
|
#define VERSION_H
|
||||||
|
|
||||||
const char* VERSION = "20240708";
|
const char* VERSION = "20240831";
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2016-2020 by Jonathan Naylor G4KLX
|
* Copyright (C) 2016-2020,2024 by Jonathan Naylor G4KLX
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
@ -97,6 +97,8 @@ int main(int argc, char** argv)
|
||||||
delete gateway;
|
delete gateway;
|
||||||
|
|
||||||
switch (m_signal) {
|
switch (m_signal) {
|
||||||
|
case 0:
|
||||||
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
::LogInfo("YSFGateway-%s exited on receipt of SIGINT", VERSION);
|
::LogInfo("YSFGateway-%s exited on receipt of SIGINT", VERSION);
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,6 @@
|
||||||
#if !defined(VERSION_H)
|
#if !defined(VERSION_H)
|
||||||
#define VERSION_H
|
#define VERSION_H
|
||||||
|
|
||||||
const char* VERSION = "20240708";
|
const char* VERSION = "20240831";
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue