diff --git a/bin/loperIRCLogBot b/bin/loperIRCLogBot index f7fb586..7c32c12 100755 Binary files a/bin/loperIRCLogBot and b/bin/loperIRCLogBot differ diff --git a/defined_values.h b/defined_values.h index 3665af7..d52c8e6 100644 --- a/defined_values.h +++ b/defined_values.h @@ -6,7 +6,7 @@ #define X_MODE // Current version of the program -#define __CUR_VER__ "1.3" +#define __CUR_VER__ "1.3.1" #define NPING_DEBUG #define NDEBUG diff --git a/loperIRCLogBot.c b/loperIRCLogBot.c index 9b99f11..7378c42 100644 --- a/loperIRCLogBot.c +++ b/loperIRCLogBot.c @@ -1,7 +1,7 @@ /*********************************************************************************** * Author: Dmitry Isaenko * * License: GNU GPL v.3 * - * Version: 1.3 * + * Version: 1.3.1 * * Site: https://developersu.blogspot.com/ * * 2017, Russia * ***********************************************************************************/ @@ -16,6 +16,7 @@ #include // only to get PATH_MAX #include // for using setsid #include // Use syslog +#include // Use signals #include "defined_values.h" @@ -413,6 +414,7 @@ void dump_event (irc_session_t * session, const char * event, const char * origi } else { 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)