diff options
author | René Schümann <white06tiger@gmail.com> | 2014-04-11 19:25:34 +0000 |
---|---|---|
committer | René Schümann <white06tiger@gmail.com> | 2014-04-11 19:25:34 +0000 |
commit | 46ceba4a74c107aa085ce199857b9fe1d9cf3f85 (patch) | |
tree | 0fbdf001386c2197354fc3f20c74c011983da3e9 /plugins/SendScreenshotPlus/src/CSendImageShack.cpp | |
parent | 2e96c3880c010e34363be9300ebbc7935de4a67a (diff) |
SendSS:
+ new host "Upload Pie" with support to expiring uploads: 30 minutes, 1 day or 1 week
might not be perfect because this was a quick edit...
* updated CSend's HTTP post stuff to support integer values (CSend,CSendImageShack)
git-svn-id: http://svn.miranda-ng.org/main/trunk@8959 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SendScreenshotPlus/src/CSendImageShack.cpp')
-rw-r--r-- | plugins/SendScreenshotPlus/src/CSendImageShack.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SendScreenshotPlus/src/CSendImageShack.cpp b/plugins/SendScreenshotPlus/src/CSendImageShack.cpp index f6141651c2..9f5d5dce46 100644 --- a/plugins/SendScreenshotPlus/src/CSendImageShack.cpp +++ b/plugins/SendScreenshotPlus/src/CSendImageShack.cpp @@ -49,10 +49,10 @@ int CSendImageShack::Send() { ZeroMemory(&m_nlhr, sizeof(m_nlhr)); char* tmp; tmp=mir_t2a(m_pszFile); HTTPFormData frm[]={ - {"fileupload",tmp,HTTPFORM_FILE}, + {"fileupload",HTTPFORM_FILE(tmp)}, //{"rembar","yes"},// no info bar on thumb {"public","no"}, - {"key",DEVKEY_IMAGESHACK,HTTPFORM_8BIT}, + {"key",HTTPFORM_8BIT(DEVKEY_IMAGESHACK)}, }; int error=HTTPFormCreate(&m_nlhr,REQUEST_POST,"http://imageshack.us/upload_api.php",frm,sizeof(frm)/sizeof(HTTPFormData)); mir_free(tmp); |