diff options
author | René Schümann <white06tiger@gmail.com> | 2014-06-28 23:29:27 +0000 |
---|---|---|
committer | René Schümann <white06tiger@gmail.com> | 2014-06-28 23:29:27 +0000 |
commit | 814ff2e2b838bdefb42f2af358f358446025c8d0 (patch) | |
tree | 78ff09fb8b3748f4a308491d9c4ac2e11dc9610b /plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp | |
parent | c6e1bedfc18495b3e083069f8d03c2218f6f6b78 (diff) |
SendSS v0.8.6.0:
+ imgur.com support by user requests (anonymous upload only) (CSendHost_imgur,CSend,global.h,UMainForm)
this also include basic functions for JSON parsing (currently only JSON without spaces and arrays) (CSend)
SSL/HTTPS support for HTTPFormCreate (CSend)
support for custom headers in HTTPFormCreate (CSend)
* updated ImageShack related filenames.
* very minor misc code changes and improvements (comments, error messages)
git-svn-id: http://svn.miranda-ng.org/main/trunk@9606 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp')
-rw-r--r-- | plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp b/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp index 6a2c7fe48a..73830c7052 100644 --- a/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp +++ b/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp @@ -63,7 +63,7 @@ int CSendHost_UploadPie::Send() void CSendHost_UploadPie::SendThread(void* obj) { CSendHost_UploadPie* self=(CSendHost_UploadPie*)obj; - //send DATA and wait for m_nlreply + /// send DATA and wait for m_nlreply NETLIBHTTPREQUEST* reply=(NETLIBHTTPREQUEST*)CallService(MS_NETLIB_HTTPTRANSACTION,(WPARAM)hNetlibUser,(LPARAM)&self->m_nlhr); self->HTTPFormDestroy(&self->m_nlhr); if(reply){ @@ -96,11 +96,11 @@ void CSendHost_UploadPie::SendThread(void* obj) mir_free(werr); } }else{ - self->Error(LPGENT("Upload server did not respond timely.")); + self->Error(SS_ERR_RESPONSE,self->m_pszSendTyp,reply->resultCode); } CallService(MS_NETLIB_FREEHTTPREQUESTSTRUCT,0,(LPARAM)reply); }else{ - self->Error(SS_ERR_INIT, self->m_pszSendTyp); + self->Error(SS_ERR_NORESPONSE,self->m_pszSendTyp,self->m_nlhr.resultCode); } self->Exit(ACKRESULT_FAILED); } |