From 2c926da14a869c85eb1b0db5ecad39694d7382db Mon Sep 17 00:00:00 2001 From: SoGi Date: Wed, 21 Oct 2026 13:39:23 +0200 Subject: [PATCH] Normalize source text line endings --- .gitattributes | 8 ++++++++ native/cp/DuoRdpCredentialProvider/ClassFactory.cpp | 2 +- native/cp/DuoRdpCredentialProvider/dllmain.cpp | 2 +- native/ipc_protocol.json | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.gitattributes b/.gitattributes index 211e5f5..0e014cc 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,13 @@ *.zip binary *.exe binary *.dll binary +*.cpp text eol=lf +*.h text eol=lf +*.hpp text eol=lf +*.json text eol=lf +*.md text eol=lf +*.txt text eol=lf +*.cmake text eol=lf +CMakeLists.txt text eol=lf *.ps1 text eol=crlf *.bat text eol=crlf diff --git a/native/cp/DuoRdpCredentialProvider/ClassFactory.cpp b/native/cp/DuoRdpCredentialProvider/ClassFactory.cpp index c71a9db..a9f34c4 100644 --- a/native/cp/DuoRdpCredentialProvider/ClassFactory.cpp +++ b/native/cp/DuoRdpCredentialProvider/ClassFactory.cpp @@ -43,4 +43,4 @@ IFACEMETHODIMP DuoClassFactory::LockServer(BOOL fLock) { if (fLock) InterlockedIncrement(&g_cRef); else InterlockedDecrement(&g_cRef); return S_OK; -} +} diff --git a/native/cp/DuoRdpCredentialProvider/dllmain.cpp b/native/cp/DuoRdpCredentialProvider/dllmain.cpp index fa38ee8..a22eae4 100644 --- a/native/cp/DuoRdpCredentialProvider/dllmain.cpp +++ b/native/cp/DuoRdpCredentialProvider/dllmain.cpp @@ -9,4 +9,4 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID) { DisableThreadLibraryCalls(hModule); } return TRUE; -} +} diff --git a/native/ipc_protocol.json b/native/ipc_protocol.json index e947412..f8cb45e 100644 --- a/native/ipc_protocol.json +++ b/native/ipc_protocol.json @@ -15,4 +15,4 @@ "response": {"ok": "bool", "reason": "string?", "attempts_left": "int?"} } } -} +}