Skip to content

Commit

Permalink
improved:start parameter parse
Browse files Browse the repository at this point in the history
  • Loading branch information
xengine-qyt committed Oct 15, 2024
1 parent ce875f0 commit 312f21c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions XEngine_Source/XEngine_StorageApp/StorageApp_Config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ bool StorageApp_Config_Parament(int argc,char **argv)
}
else if (0 == _tcsxcmp("-l",argv[i]))
{
st_ServiceCfg.st_XLog.nLogLeave = _ttxoi(argv[i + 1]);
st_ServiceCfg.st_XLog.nLogLeave = _ttxoi(argv[++i]);
}
else if (0 == _tcsxcmp("-d",argv[i]))
{
st_ServiceCfg.bDeamon = _ttxoi(argv[i + 1]);
st_ServiceCfg.bDeamon = _ttxoi(argv[++i]);
}
else if (0 == _tcsxcmp("-r", argv[i]))
{
Expand Down

0 comments on commit 312f21c

Please sign in to comment.