Skip to content

Commit 070fd59

Browse files
committed
modify:get time when send for report info
1 parent 08ea34a commit 070fd59

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

CHANGELOG

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ improved:forward protocol handle
2121
modify:unified forward and tunnel error code
2222
modify:print port for anny forward
2323
modify:multi back-end support for proxy full
24+
modify:
2425
fixed:not print forward bind error
2526
fixed:issue with forwarding network not distinguishing between named and anonymized data when accepting data
2627
fixed:anony save client addr lost port

XEngine_Docment/Docment_en.docx

-4.12 KB
Binary file not shown.

XEngine_Docment/Docment_zh.docx

-3.62 KB
Binary file not shown.

XEngine_Source/XEngine_ServiceApp/XEngine_ServiceApp.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -353,10 +353,9 @@ int main(int argc, char** argv)
353353
//发送信息报告
354354
if (st_ServiceConfig.st_XReport.bEnable && !bIsTest)
355355
{
356-
if (InfoReport_APIMachine_Send(st_ServiceConfig.st_XReport.tszAPIUrl, st_ServiceConfig.st_XReport.tszServiceName))
356+
__int64x nTimeNumber = 0;
357+
if (InfoReport_APIMachine_Send(st_ServiceConfig.st_XReport.tszAPIUrl, st_ServiceConfig.st_XReport.tszServiceName, &nTimeNumber))
357358
{
358-
__int64x nTimeNumber = 0;
359-
InfoReport_APIMachine_GetTime(st_ServiceConfig.st_XReport.tszAPIUrl, st_ServiceConfig.st_XReport.tszServiceName, &nTimeNumber);
360359
XLOG_PRINT(xhLog, XENGINE_HELPCOMPONENTS_XLOG_IN_LOGLEVEL_INFO, _X("启动服务中,启动信息报告给API服务器:%s 成功,报告次数:%lld"), st_ServiceConfig.st_XReport.tszAPIUrl, nTimeNumber);
361360
}
362361
else

0 commit comments

Comments
 (0)