@@ -40,7 +40,7 @@ XHTHREAD XEngine_Task_P2PThread()
4040 if (nListCount > 0 )
4141 {
4242 _stprintf (pppSt_ListFile[0 ]->tszTableName , _T (" %s:%d" ), st_ServiceCfg.tszIPAddr , st_ServiceCfg.nStorageDLPort );
43- Protocol_StoragePacket_QueryFile (tszMsgBuffer, &nMsgLen, &pppSt_ListFile, nListCount, st_ServiceCfg. st_XStorage . tszFileDir , tszTimeStart, tszTimeEnd);
43+ Protocol_StoragePacket_QueryFile (tszMsgBuffer, &nMsgLen, &pppSt_ListFile, nListCount, tszTimeStart, tszTimeEnd);
4444 BaseLib_OperatorMemory_Free ((XPPPMEM)&pppSt_ListFile, nListCount);
4545
4646 SOCKET hSDSocket;
@@ -88,7 +88,7 @@ BOOL XEngine_Task_P2PGet(LPCTSTR lpszFileHash, LPCTSTR lpszClientAddr, RFCCOMPON
8888 st_HDRParam.nHttpCode = 200 ;
8989
9090 _stprintf (pppSt_ListFile[0 ]->tszTableName , _T (" 127.0.0.1:%d" ), st_ServiceCfg.nStorageDLPort );
91- Protocol_StoragePacket_QueryFile (tszRVBuffer, &nRVLen, &pppSt_ListFile, nListCount, st_ServiceCfg. st_XStorage . tszFileDir );
91+ Protocol_StoragePacket_QueryFile (tszRVBuffer, &nRVLen, &pppSt_ListFile, nListCount);
9292 BaseLib_OperatorMemory_Free ((XPPPMEM)&pppSt_ListFile, nListCount);
9393
9494 RfcComponents_HttpServer_SendMsgEx (xhCenterHttp, tszMsgBuffer, &nMsgLen, &st_HDRParam, tszRVBuffer, nRVLen);
@@ -177,7 +177,7 @@ BOOL XEngine_Task_P2PGet(LPCTSTR lpszFileHash, LPCTSTR lpszClientAddr, RFCCOMPON
177177 int nListCount = 0 ;
178178 XSTORAGECORE_DBFILE** ppSt_ListPacket;
179179 APIHelp_Distributed_FileList (&stl_ListFile, &ppSt_ListPacket, &nListCount);
180- Protocol_StoragePacket_QueryFile (tszRVBuffer, &nRVLen, &ppSt_ListPacket, nListCount, st_ServiceCfg. st_XStorage . tszFileDir );
180+ Protocol_StoragePacket_QueryFile (tszRVBuffer, &nRVLen, &ppSt_ListPacket, nListCount);
181181 RfcComponents_HttpServer_SendMsgEx (xhCenterHttp, tszMsgBuffer, &nMsgLen, &st_HDRParam, tszRVBuffer, nRVLen);
182182 BaseLib_OperatorMemory_Free ((XPPPMEM)&ppSt_ListPacket, nListCount);
183183 }
0 commit comments