Skip to content

Commit d9feb48

Browse files
committed
modify:start parameter are not case sensitive
1 parent b3f5089 commit d9feb48

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

XEngine_Source/XEngine_MQServiceApp/MQService_Config.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,18 +56,18 @@ bool MQ_Service_Parament(int argc, char** argv, XENGINE_SERVERCONFIG* pSt_Startl
5656
{
5757
pSt_StartlParam->st_XLog.nLogType = _ttxoi(argv[++i]);
5858
}
59-
else if (0 == _tcsxcmp("-l", argv[i]))
59+
else if (0 == _tcsxicmp("-l", argv[i]))
6060
{
6161
LPCXSTR lpszLogLevel = argv[++i];
62-
if (0 == _tcsxcmp("debug", lpszLogLevel))
62+
if (0 == _tcsxicmp("debug", lpszLogLevel))
6363
{
6464
pSt_StartlParam->st_XLog.nLogLeave = XENGINE_HELPCOMPONENTS_XLOG_IN_LOGLEVEL_DETAIL;
6565
}
66-
else if (0 == _tcsxcmp("detail", lpszLogLevel))
66+
else if (0 == _tcsxicmp("detail", lpszLogLevel))
6767
{
6868
pSt_StartlParam->st_XLog.nLogLeave = XENGINE_HELPCOMPONENTS_XLOG_IN_LOGLEVEL_DETAIL;
6969
}
70-
else if (0 == _tcsxcmp("info", lpszLogLevel))
70+
else if (0 == _tcsxicmp("info", lpszLogLevel))
7171
{
7272
pSt_StartlParam->st_XLog.nLogLeave = XENGINE_HELPCOMPONENTS_XLOG_IN_LOGLEVEL_INFO;
7373
}

0 commit comments

Comments
 (0)