summaryrefslogtreecommitdiff
path: root/src/tsg_entry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tsg_entry.cpp')
-rw-r--r--src/tsg_entry.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/tsg_entry.cpp b/src/tsg_entry.cpp
index 20fde20..a3b3c0a 100644
--- a/src/tsg_entry.cpp
+++ b/src/tsg_entry.cpp
@@ -1940,7 +1940,7 @@ int session_app_gather_results_update(struct app_attributes **update_result, cha
{
if(identify_result->app_id_num<=0)
{
- return 0;
+ return update_result_num;
}
if(*update_result==NULL)
@@ -2005,7 +2005,6 @@ int session_app_identify_result_cb(const struct streaminfo *a_stream, int bridge
struct app_identify_result *identify_result=(struct app_identify_result *)data;
switch(identify_result->origin)
{
- break;
case ORIGIN_QM_ENGINE:
srt_process_context->is_app_link=FLAG_TRUE;
tsg_stat_sync_application_update(SYNC_APP_THRID, 1);
@@ -2054,7 +2053,7 @@ int session_app_identify_result_cb(const struct streaminfo *a_stream, int bridge
scan_app_num=1;
break;
default:
- MASTER_LOG(g_tsg_para.logger, RLOG_LV_FATAL, LOG_MODULE_SYNC_APP, "Unknown type: %d addr: %s", identify_result->origin, printaddr(&(a_stream->addr), a_stream->threadnum));
+ MASTER_LOG(g_tsg_para.logger, RLOG_LV_INFO, LOG_MODULE_SYNC_APP, "Unknown type: %d addr: %s", identify_result->origin, printaddr(&(a_stream->addr), a_stream->threadnum));
return 0;
}