mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
FS-11911: Fix build on Debian Buster
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user