diff options
author | George Hazan <george.hazan@gmail.com> | 2025-05-13 13:16:41 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2025-05-13 13:16:41 +0300 |
commit | 632700c7828d2b9667c8dc8bc3403f910b51e158 (patch) | |
tree | a0eebd39c1a49e9cf51f4fb8425bdf9d3e73fbdb /plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp | |
parent | c42f503c8e3c1e6e4a7689b3b3cff17d2722c9ac (diff) |
fixes #5017 (SendSS: UploadPie not working) + some code formatting
Diffstat (limited to 'plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp')
-rw-r--r-- | plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp b/plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp index cc7f1908f9..63b1c7519c 100644 --- a/plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp +++ b/plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp @@ -32,8 +32,8 @@ INT_PTR(*g_MirCallService)(const char *, WPARAM, LPARAM) = nullptr; /////////////////////////////////////////////////////////////////////////////////////////
-CSendHTTPServer::CSendHTTPServer(HWND Owner, MCONTACT hContact, bool /*bAsync*/)
- : CSend(Owner, hContact, true)
+CSendHTTPServer::CSendHTTPServer(HWND Owner, MCONTACT hContact, bool /*bAsync*/) :
+ CSend(Owner, hContact, true)
{
m_EnableItem = SS_DLG_DESCRIPTION; //| SS_DLG_AUTOSEND | SS_DLG_DELETEAFTERSSEND;
m_pszSendTyp = LPGENW("HTTPServer transfer");
@@ -86,7 +86,7 @@ void CSendHTTPServer::SendThread() // patched plugin version
ret = CallService(MS_HTTP_ADD_CHANGE_REMOVE, (WPARAM)m_hContact, (LPARAM)&m_fsi);
if (!ret) {
- m_URL = ptrA((char*)CallService(MS_HTTP_GET_LINK, (WPARAM)m_fsi.pszSrvPath, 0));
+ m_URL = ptrA((char *)CallService(MS_HTTP_GET_LINK, (WPARAM)m_fsi.pszSrvPath, 0));
}
}
else {
@@ -111,7 +111,7 @@ void CSendHTTPServer::SendThread() Exit(ACKRESULT_FAILED);
}
-void CSendHTTPServer::SendThreadWrapper(void * Obj)
+void CSendHTTPServer::SendThreadWrapper(void *Obj)
{
- reinterpret_cast<CSendHTTPServer*>(Obj)->SendThread();
+ reinterpret_cast<CSendHTTPServer *>(Obj)->SendThread();
}
|