diff options
| author | fumingwei <[email protected]> | 2023-03-15 14:18:08 +0800 |
|---|---|---|
| committer | fumingwei <[email protected]> | 2023-03-15 20:57:48 +0800 |
| commit | 666234f661f5426630aa07554a67a47656bde656 (patch) | |
| tree | f52f4293c849c75841f86881b865ec1a1f1e86a9 /src/line_protocol_output.cpp | |
| parent | c7fbb5383dc5ebf7dd3a9e8f5b185c67d9a32768 (diff) | |
feature:review后修改
Diffstat (limited to 'src/line_protocol_output.cpp')
| -rw-r--r-- | src/line_protocol_output.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/line_protocol_output.cpp b/src/line_protocol_output.cpp index f8b3108..56876fe 100644 --- a/src/line_protocol_output.cpp +++ b/src/line_protocol_output.cpp @@ -59,7 +59,7 @@ static int output_line_protocol_tag_set_buf(char *tag_key[], char *tag_value[], static void output_line_protocol_table(struct fieldstat_instance *instance,int tables_line_cnt[], int current_table_cnt) { int i = 0, j = 0, k = 0; - metric_t *metric = NULL; + struct metric *metric = NULL; long long value = 0; //double ratio = 0.0; char field_set_buff[UDP_PAYLOAD_SIZE]; @@ -135,7 +135,7 @@ static void output_line_protocol_table(struct fieldstat_instance *instance,int t int line_protocol_output(struct fieldstat_instance *instance) { - metric_t *metric = NULL; + struct metric *metric = NULL; long long value=0; int i=0; char field_set_buff[UDP_PAYLOAD_SIZE]; |
