From 2fd23e952a21690701c7f00efdd494ab04cb678c Mon Sep 17 00:00:00 2001 From: pan-wang Date: Wed, 4 Jan 2017 15:47:42 -0800 Subject: [PATCH] fix issue #50 app_offline.htm is case sensitive --- 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 c3d66fd..96e321e 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) {