version 1.3.1 minor fixes
This commit is contained in:
parent
c3e10350cf
commit
3363bde9a3
3 changed files with 4 additions and 2 deletions
Binary file not shown.
|
@ -6,7 +6,7 @@
|
||||||
#define X_MODE
|
#define X_MODE
|
||||||
|
|
||||||
// Current version of the program
|
// Current version of the program
|
||||||
#define __CUR_VER__ "1.3"
|
#define __CUR_VER__ "1.3.1"
|
||||||
|
|
||||||
#define NPING_DEBUG
|
#define NPING_DEBUG
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/***********************************************************************************
|
/***********************************************************************************
|
||||||
* Author: Dmitry Isaenko *
|
* Author: Dmitry Isaenko *
|
||||||
* License: GNU GPL v.3 *
|
* License: GNU GPL v.3 *
|
||||||
* Version: 1.3 *
|
* Version: 1.3.1 *
|
||||||
* Site: https://developersu.blogspot.com/ *
|
* Site: https://developersu.blogspot.com/ *
|
||||||
* 2017, Russia *
|
* 2017, Russia *
|
||||||
***********************************************************************************/
|
***********************************************************************************/
|
||||||
|
@ -16,6 +16,7 @@
|
||||||
#include <limits.h> // only to get PATH_MAX
|
#include <limits.h> // only to get PATH_MAX
|
||||||
#include <unistd.h> // for using setsid
|
#include <unistd.h> // for using setsid
|
||||||
#include <syslog.h> // Use syslog
|
#include <syslog.h> // Use syslog
|
||||||
|
#include <signal.h> // Use signals
|
||||||
|
|
||||||
#include "defined_values.h"
|
#include "defined_values.h"
|
||||||
|
|
||||||
|
@ -413,6 +414,7 @@ void dump_event (irc_session_t * session, const char * event, const char * origi
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
printf("Unable to open/create log file: check folder permissions\n"); // and die, but it doesn't die.. well. Ok for now.
|
printf("Unable to open/create log file: check folder permissions\n"); // and die, but it doesn't die.. well. Ok for now.
|
||||||
|
exit(EXIT_FAILURE); // TODO: QA: integration testing needed
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined (DEBUG)
|
#if defined (DEBUG)
|
||||||
|
|
Loading…
Reference in a new issue