diff options
| author | 刘学利 <[email protected]> | 2023-02-07 09:33:49 +0000 |
|---|---|---|
| committer | 刘学利 <[email protected]> | 2023-02-07 09:33:49 +0000 |
| commit | 6756fcdf7a96cc56f3fb54241e5f3088ef2f162d (patch) | |
| tree | 265acda936303e3473a0e28657dd20f47c15b769 /src/tsg_send_log.cpp | |
| parent | ccf02881faee0879ad36ee09ee5e32de8758a731 (diff) | |
TSG-13421: 不再处理UNCATEGORIZED=8000的识别结果,保证Application Full Path填充为空,增加gtest测试用例
Diffstat (limited to 'src/tsg_send_log.cpp')
| -rw-r--r-- | src/tsg_send_log.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tsg_send_log.cpp b/src/tsg_send_log.cpp index b28849a..bd654a7 100644 --- a/src/tsg_send_log.cpp +++ b/src/tsg_send_log.cpp @@ -847,7 +847,7 @@ int set_app_info(struct tsg_log_instance_t *_instance, struct TLD_handle_t *_han return 1; } -static int set_app_id(struct tsg_log_instance_t *_instance, struct TLD_handle_t *_handle, struct streaminfo *a_stream) +int set_app_id(struct tsg_log_instance_t *_instance, struct TLD_handle_t *_handle, struct streaminfo *a_stream) { char app_name[512]={0}; @@ -886,7 +886,6 @@ static int set_app_id(struct tsg_log_instance_t *_instance, struct TLD_handle_t TLD_append(_handle, _instance->id2field[LOG_COMMON_APP_ID].name, &app_id_object, TLD_TYPE_OBJECT); } - return 1; } |
