diff options
author | René Schümann <white06tiger@gmail.com> | 2014-12-25 00:30:09 +0000 |
---|---|---|
committer | René Schümann <white06tiger@gmail.com> | 2014-12-25 00:30:09 +0000 |
commit | f1854df3ba57b0358c893884d56d6826e25f344d (patch) | |
tree | c78083d6fc677729fc86f895ab4695c899ed86e3 /plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp | |
parent | e5c1ba56b7f6ef24279b5e7cda3759b2e68e4c8d (diff) |
SendSS:
* global.h is now more global
removed Main.h dependency
removed MODNAME define (just a dupe of SZ_SENDSS)
hInst -> g_hSendSS
myGlobals -> g_myGlobals
hNetlibUser -> g_hNetlibUser
* restructured Main.cpp by reordering functions to be more logically placed
* Main.h now only holds DLL_EXPORT functions
git-svn-id: http://svn.miranda-ng.org/main/trunk@11608 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp')
-rw-r--r-- | plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp b/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp index a3a640b986..a19cfa3ced 100644 --- a/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp +++ b/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp @@ -28,7 +28,7 @@ CSendHost_UploadPie::~CSendHost_UploadPie() //--------------------------------------------------------------------------- int CSendHost_UploadPie::Send() { - if(!hNetlibUser){ /// check Netlib + if(!g_hNetlibUser){ /// check Netlib Error(SS_ERR_INIT, m_pszSendTyp); Exit(ACKRESULT_FAILED); return !m_bAsync; @@ -64,7 +64,7 @@ void CSendHost_UploadPie::SendThread(void* obj) { CSendHost_UploadPie* self=(CSendHost_UploadPie*)obj; /// send DATA and wait for m_nlreply - NETLIBHTTPREQUEST* reply=(NETLIBHTTPREQUEST*)CallService(MS_NETLIB_HTTPTRANSACTION,(WPARAM)hNetlibUser,(LPARAM)&self->m_nlhr); + NETLIBHTTPREQUEST* reply=(NETLIBHTTPREQUEST*)CallService(MS_NETLIB_HTTPTRANSACTION,(WPARAM)g_hNetlibUser,(LPARAM)&self->m_nlhr); self->HTTPFormDestroy(&self->m_nlhr); if(reply){ if(reply->resultCode>=200 && reply->resultCode<300 && reply->dataLength){ |