From 6756fcdf7a96cc56f3fb54241e5f3088ef2f162d Mon Sep 17 00:00:00 2001 From: 刘学利 Date: Tue, 7 Feb 2023 09:33:49 +0000 Subject: TSG-13421: 不再处理UNCATEGORIZED=8000的识别结果,保证Application Full Path填充为空,增加gtest测试用例 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tsg_send_log.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/tsg_send_log.cpp') 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; } -- cgit v1.2.3