break dependency

This commit is contained in:
dmchen 2023-09-18 10:59:50 +08:00
parent fda32dcc51
commit a64ddfc736
2 changed files with 4 additions and 3 deletions

View File

@ -40,7 +40,7 @@ typedef struct {
int32_t auditInit(const SAuditCfg *pCfg);
void auditSend(SJson *pJson);
void auditRecord(SRpcMsg *pReq, int64_t clusterId, char *operation, char *target1, char *target2,
char *detail, int32_t len);
char *detail/*, int32_t len*/);
#ifdef __cplusplus
}

View File

@ -34,8 +34,9 @@ extern void auditRecordImp(SRpcMsg *pReq, int64_t clusterId, char *operation, ch
char *detail, int32_t len);
void auditRecord(SRpcMsg *pReq, int64_t clusterId, char *operation, char *target1, char *target2,
char *detail, int32_t len) {
auditRecordImp(pReq, clusterId, operation, target1, target2, detail, len);
char *detail/*, int32_t len*/) {
//auditRecordImp(pReq, clusterId, operation, target1, target2, detail, len);
auditRecordImp(pReq, clusterId, operation, target1, target2, detail, 0);
}
#ifndef TD_ENTERPRISE