mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-27 10:50:41 +00:00
update
Signed-off-by: wangjingen <wangjingen1@huawei.com>
This commit is contained in:
commit
144125bd2d
@ -24,7 +24,7 @@
|
||||
#include "message_handler.h"
|
||||
#include "hisysevent_c.h"
|
||||
|
||||
static const char *g_demain = "DSOFTBUS";
|
||||
static const char *g_domain = "DSOFTBUS";
|
||||
static HiSysEventParam g_dstParam[SOFTBUS_EVT_PARAM_BUTT];
|
||||
|
||||
static init32_t ConvertEventParam(SoftBusEvtParam *srcParam, HiSysEventParam *dstParam)
|
||||
@ -139,7 +139,7 @@ int32_t SoftbusWriteHisEvt(SoftBusEvtReportMsg* reportMsg)
|
||||
return SOFTBUS_ERR;
|
||||
}
|
||||
HiSysEventParamInit(reportMsg);
|
||||
OH_HiSysEvent_Write(g_demain, reportMsg->evtName, ConvertMsgType(reportMsg->evtType),
|
||||
OH_HiSysEvent_Write(g_domain, reportMsg->evtName, ConvertMsgType(reportMsg->evtType),
|
||||
g_dstParam, reportMsg->paramNum);
|
||||
HiSysEventParamDeInit(reportMsg->paramNum);
|
||||
return SOFTBUS_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user