summaryrefslogtreecommitdiff
path: root/src/MESA_field_stat.cpp
diff options
context:
space:
mode:
author郑超 <[email protected]>2018-11-22 19:58:33 +0800
committer郑超 <[email protected]>2018-11-22 19:58:33 +0800
commite1a041291b61632015a06ac5ff4bcbee48cf088e (patch)
treee26a8838d33f8e355f8f4930856d7e4d77811b4c /src/MESA_field_stat.cpp
parentba34d6342312461f6ea63e4a6341b8bc31a752fe (diff)
parent0aa479b4f5c5a299f812d83db711a7b100ccf2e5 (diff)
Merge branch 'trival-rename-output-style-define' into 'master'v2.8
上次没修完 See merge request MESA_framework/FieldStat2!4
Diffstat (limited to 'src/MESA_field_stat.cpp')
-rw-r--r--src/MESA_field_stat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MESA_field_stat.cpp b/src/MESA_field_stat.cpp
index aa8e527..8446706 100644
--- a/src/MESA_field_stat.cpp
+++ b/src/MESA_field_stat.cpp
@@ -508,7 +508,7 @@ int FS_set_para(screen_stat_handle_t handle, enum FS_option type,const void* va
_handle->server_port=*((unsigned short *)value);
break;
case STATS_FORMAT:
- if(size!=4||(int_val!=FS_OUTPUT_STATSD&&int_val!=FS_OUTPUT_INFLUX))
+ if(size!=4||(int_val!=FS_OUTPUT_STATSD&&int_val!=FS_OUTPUT_INFLUX_LINE))
{
return -1;
}
@@ -1446,7 +1446,7 @@ void FS_passive_output(screen_stat_handle_t handle)
{
StatsD_output(_handle);
}
- if(_handle->statsd_switch == FS_OUTPUT_INFLUX)
+ if(_handle->statsd_switch == FS_OUTPUT_INFLUX_LINE)
{
influx_output(_handle);
}