From a4963aa6da4b6b840445ec7bf53803f70b4ea79b Mon Sep 17 00:00:00 2001 From: pan-wang Date: Wed, 4 Jan 2017 15:57:09 -0800 Subject: [PATCH] fix issue #50 app_offline.htm is case sensitive (#54) --- src/AspNetCore/Src/filewatcher.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AspNetCore/Src/filewatcher.cxx b/src/AspNetCore/Src/filewatcher.cxx index c3d66fd5c3..96e321ef60 100644 --- a/src/AspNetCore/Src/filewatcher.cxx +++ b/src/AspNetCore/Src/filewatcher.cxx @@ -266,7 +266,7 @@ HRESULT // // check whether the monitored file got changed // - if (wcsncmp(pNotificationInfo->FileName, + if (_wcsnicmp(pNotificationInfo->FileName, _strFileName.QueryStr(), pNotificationInfo->FileNameLength/sizeof(WCHAR)) == 0) {