Skip to content

Commit 3b7d796

Browse files
committed
delete:nDLError field
1 parent bd75403 commit 3b7d796

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

XEngine_Source/StorageModule_Config/Config_Define.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ typedef struct tag_XEngine_ServerConfig
8787
struct
8888
{
8989
int nDLTry;
90-
int nDLError;
9190
__int64x nMaxUPLoader;
9291
__int64x nMaxDNLoader;
9392
}st_XLimit;

XEngine_Source/StorageModule_Config/Config_Json/Config_Json.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,15 +156,14 @@ BOOL CConfig_Json::Config_Json_File(LPCTSTR lpszConfigFile,XENGINE_SERVERCONFIG
156156
_tcscpy(pSt_ServerConfig->st_XProxy.st_XProxyPass.tszDLPass, st_JsonXProxyPass["tszDLPass"].asCString());
157157
_tcscpy(pSt_ServerConfig->st_XProxy.st_XProxyPass.tszUPPass, st_JsonXProxyPass["tszUPPass"].asCString());
158158

159-
if (st_JsonRoot["XLimit"].empty() || (4 != st_JsonRoot["XLimit"].size()))
159+
if (st_JsonRoot["XLimit"].empty() || (3 != st_JsonRoot["XLimit"].size()))
160160
{
161161
Config_IsErrorOccur = TRUE;
162162
Config_dwErrorCode = ERROR_XENGINE_BLOGIC_CONFIG_JSON_XSTORAGE;
163163
return FALSE;
164164
}
165165
Json::Value st_JsonXLimit = st_JsonRoot["XLimit"];
166166
pSt_ServerConfig->st_XLimit.nDLTry = st_JsonXLimit["nDLTry"].asUInt();
167-
pSt_ServerConfig->st_XLimit.nDLError = st_JsonXLimit["nDLError"].asUInt();
168167
pSt_ServerConfig->st_XLimit.nMaxDNLoader = st_JsonXLimit["nMaxDNLoad"].asInt64();
169168
pSt_ServerConfig->st_XLimit.nMaxUPLoader = st_JsonXLimit["nMaxUPLoad"].asInt64();
170169

0 commit comments

Comments
 (0)