diff options
| author | liuxueli <[email protected]> | 2021-09-26 09:53:03 +0800 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2021-09-26 09:53:03 +0800 |
| commit | 69b19d254564f0daeb84cbf4f529d05bc1bfd6d4 (patch) | |
| tree | 104217cbeeec628b79e70494aace4c217a179371 | |
| parent | 0bb06b49a010afd68c6472e0b256bca175b771a8 (diff) | |
TSG-7908: FS2报错但不影响功能
| -rw-r--r-- | src/MESA_field_stat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MESA_field_stat.cpp b/src/MESA_field_stat.cpp index 383ad50..0228ce1 100644 --- a/src/MESA_field_stat.cpp +++ b/src/MESA_field_stat.cpp @@ -152,7 +152,7 @@ static int send_udp(int sd, unsigned int dest_ip, unsigned short dest_port, cons } void flush_metric(struct FS_space_t* _handle) { - if(_handle->snd_buf_off==0) + if(_handle->snd_buf_off==0 || _handle->server_port==0) { return; } |
