Forráskód Böngészése

Z991239-1781 #comment chromium 解决协助通道返回数据格式不正确问题2

胡琛80272472 4 éve
szülő
commit
a8ad8f9c11

+ 2 - 1
Module/mod_initiativetransfer/FlowControlFSM.cpp

@@ -226,7 +226,8 @@ unsigned int CFlowControlFSM::s2_on_event(FSMEvent* event)
 	} else if (event->iEvt == USER_EVT_REQACMFLOW) {
 		ReqACMFlowEvent *afe = static_cast<ReqACMFlowEvent *>(event);
 		ACMFlowInvoke evt;
-		evt.req_context = afe->req_context;
+		CSimpleStringW req_context = CSimpleString16Bit2W(afe->req_context);
+		evt.req_context = req_context;
 		SpSendBroadcast(m_pEntity->GetFunction(), SP_MSG_OF(ACMFlowInvoke), SP_MSG_SIG_OF(ACMFlowInvoke), evt);
 	} else if (event->iEvt == USER_EVT_NTFENTFLOW) {
 		LOG_TRACE("notify enter flow, disallow control!");

+ 1 - 1
Module/mod_initiativetransfer/FlowControlFSM.h

@@ -87,7 +87,7 @@ struct ReqACMFlowEvent : public FSMEvent
 {
 	ReqACMFlowEvent() : FSMEvent(USER_EVT_REQACMFLOW) {}
 	virtual ~ReqACMFlowEvent() {}
-	CSimpleStringW req_context;
+	CSimpleString16Bit req_context;
 };
 
 class CFlowControlFSM : public FSMImpl<CFlowControlFSM>, public IFSMStateHooker