FS-11911: Fix build on Debian Buster

This commit is contained in:
Andrey Volk
2019-06-19 23:53:35 +04:00
parent 4f50a24a90
commit a7477ed0e2
24 changed files with 36 additions and 50 deletions
+2 -2
View File
@@ -40,8 +40,8 @@
extern "C" {
#endif /* defined(__cplusplus) */
#define esl_copy_string(_x, _y, _z) strncpy(_x, _y, _z - 1)
#define esl_set_string(_x, _y) esl_copy_string(_x, _y, sizeof(_x))
#define esl_copy_string(_x, _y, _z) snprintf(_x, _z, "%s", _y)
#define esl_set_string(_x, _y) esl_copy_string(_x, _y, sizeof(_x))
#define ESL_VA_NONE "%s", ""
typedef struct esl_event_header esl_event_header_t;
+1 -1
View File
@@ -113,7 +113,7 @@ struct esl_config {
/*! FILE stream buffer to the opened file */
FILE *file;
/*! path to the file */
char path[512];
char path[1024];
/*! current category */
char category[256];
/*! current section */