Skip to content

Commit e3ba7bf

Browse files
committed
improved:start parameter parse
1 parent 01cfb8f commit e3ba7bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

XEngine_Source/XEngine_APPService/XEngine_AuthorizeService/Authorize_Config.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ bool Authorize_Service_Parament(int argc, char** argv)
3131
}
3232
else if (0 == _tcsxcmp("-d", argv[i]))
3333
{
34-
st_AuthConfig.bDeamon = _ttxoi(argv[i + 1]);
34+
st_AuthConfig.bDeamon = _ttxoi(argv[++i]);
3535
}
3636
else if (0 == _tcsxcmp("-t", argv[i]))
3737
{

0 commit comments

Comments
 (0)