fix(file plugin):fix format

This commit is contained in:
liyuxi
2022-12-26 08:48:38 +00:00
parent dd05082f9a
commit a6741f23e9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ typedef enum {
NEU_ERR_MQTT_SUSPENDED = 4015,
NEU_ERR_MQTT_PUBLISH_OVER_LENGTH = 4016,
NEU_ERR_FILE_TOO_LONG = 4100,
NEU_ERR_FILE_TOO_LONG = 4100,
NEU_ERR_FILE_OPEN_FAILURE = 4101,
NEU_ERR_FILE_READ_FAILURE = 4102,
+1 -1
View File
@@ -46,7 +46,7 @@ int file_group_timer(neu_plugin_t *plugin, neu_plugin_group_t *group)
utarray_foreach(group->tags, neu_datatag_t *, tag)
{
FILE * f = NULL;
FILE * f = NULL;
struct stat st = { 0 };
char * buf = calloc(1, length);
neu_dvalue_t dvalue = { 0 };