diff options
author | George Hazan <ghazan@miranda.im> | 2020-12-19 17:35:27 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-12-19 17:35:27 +0300 |
commit | ab6c868bccb088d493ab4016fd1918d822adfc2b (patch) | |
tree | 06ae047cfb0340d76e302b02e11454f16db89d4b | |
parent | 422eedb14b84b4cd9e5cb3d43971cd47bc787e52 (diff) |
fixes #2653 (CloudFile cannot connect)
-rw-r--r-- | protocols/CloudFile/CloudFile.vcxproj | 3 | ||||
-rw-r--r-- | protocols/CloudFile/src/oauth.cpp | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/protocols/CloudFile/CloudFile.vcxproj b/protocols/CloudFile/CloudFile.vcxproj index ef45ab1536..bc733a9b76 100644 --- a/protocols/CloudFile/CloudFile.vcxproj +++ b/protocols/CloudFile/CloudFile.vcxproj @@ -84,5 +84,8 @@ <Link> <AdditionalDependencies>comctl32.lib;shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies> </Link> + <ClCompile> + <ExceptionHandling>Sync</ExceptionHandling> + </ClCompile> </ItemDefinitionGroup> </Project>
\ No newline at end of file diff --git a/protocols/CloudFile/src/oauth.cpp b/protocols/CloudFile/src/oauth.cpp index 308f8aa2b8..fb243d67e4 100644 --- a/protocols/CloudFile/src/oauth.cpp +++ b/protocols/CloudFile/src/oauth.cpp @@ -22,7 +22,7 @@ bool COAuthDlg::OnInitDialog() bool COAuthDlg::OnApply() { m_service->ForkThread(m_requestAccessTokenThread, m_hwnd); - return true; + return false; } void COAuthDlg::Code_OnChange(CCtrlBase*) |