Skip to content

Commit cfa3b32

Browse files
committed
modify:nSendMode not use and replaced to bResumable
1 parent 1a504bf commit cfa3b32

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

XEngine_Source/StorageModule_Config/Config_Define.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ typedef struct tag_XEngine_ServerConfig
6464
struct
6565
{
6666
BOOL bRename;
67-
int nSendMode;
67+
BOOL bResumable;
6868
int nHashMode;
6969
TCHAR tszFileDir[MAX_PATH];
7070
}st_XStorage;

XEngine_Source/StorageModule_Config/Config_Json/Config_Json.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ BOOL CConfig_Json::Config_Json_File(LPCTSTR lpszConfigFile,XENGINE_SERVERCONFIG
133133
}
134134
Json::Value st_JsonXStorage = st_JsonRoot["XStorage"];
135135
pSt_ServerConfig->st_XStorage.nHashMode = st_JsonXStorage["nHashMode"].asInt();
136-
pSt_ServerConfig->st_XStorage.nSendMode = st_JsonXStorage["nSendMode"].asInt();
136+
pSt_ServerConfig->st_XStorage.bResumable = st_JsonXStorage["bResumable"].asInt();
137137
pSt_ServerConfig->st_XStorage.bRename = st_JsonXStorage["bRename"].asInt();
138138
_tcscpy(pSt_ServerConfig->st_XStorage.tszFileDir, st_JsonXStorage["tszFileDir"].asCString());
139139

0 commit comments

Comments
 (0)