diff options
Diffstat (limited to 'src/libs/zbxembed/zabbix.c')
-rw-r--r-- | src/libs/zbxembed/zabbix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/zbxembed/zabbix.c b/src/libs/zbxembed/zabbix.c index 147f7a0d340..d641dc33e3a 100644 --- a/src/libs/zbxembed/zabbix.c +++ b/src/libs/zbxembed/zabbix.c @@ -93,7 +93,7 @@ static duk_ret_t es_zabbix_log(duk_context *ctx) if (ZBX_ES_LOG_MEMORY_LIMIT < env->json->buffer_size) /* approximate limit */ { return duk_error(ctx, DUK_RET_TYPE_ERROR, "log exceeds the maximum size " ZBX_FS_UI64 " bytes.", - ZBX_MAX_RECV_DATA_SIZE); + ZBX_ES_LOG_MEMORY_LIMIT); } return 0; |