diff options
author | Robert Pösel <robyer@seznam.cz> | 2017-02-15 23:34:01 +0100 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2017-02-15 23:34:01 +0100 |
commit | 79f59df24f845aa39955a0a0cf00d8d2038fff85 (patch) | |
tree | e56a3919cf12eda49f3e0b7976a6e0ad461c9755 /plugins/SendScreenshotPlus/src | |
parent | 9dd2b2549e4cdca7022c0850882e29a5a4db2e70 (diff) |
SendScreenshot: Restore some potentially useful comments
Diffstat (limited to 'plugins/SendScreenshotPlus/src')
-rw-r--r-- | plugins/SendScreenshotPlus/src/CSendHost_ImageShack.cpp | 2 | ||||
-rw-r--r-- | plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/plugins/SendScreenshotPlus/src/CSendHost_ImageShack.cpp b/plugins/SendScreenshotPlus/src/CSendHost_ImageShack.cpp index e8d0f73444..870c329ba4 100644 --- a/plugins/SendScreenshotPlus/src/CSendHost_ImageShack.cpp +++ b/plugins/SendScreenshotPlus/src/CSendHost_ImageShack.cpp @@ -53,7 +53,9 @@ int CSendHost_ImageShack::Send() memset(&m_nlhr, 0, sizeof(m_nlhr)); char* tmp; tmp = mir_u2a(m_pszFile); HTTPFormData frm[] = { + //{ "Referer", HTTPFORM_HEADER("http://www.imageshack.us/upload_api.php") }, { "fileupload", HTTPFORM_FILE(tmp) }, + //{ "rembar", "yes" },// no info bar on thumb { "public", "no" }, { "key", HTTPFORM_8BIT(DEVKEY_IMAGESHACK) }, }; diff --git a/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp b/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp index d3fc4914d9..f88bca48bb 100644 --- a/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp +++ b/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp @@ -44,6 +44,12 @@ int CSendHost_UploadPie::Send() { "upload", HTTPFORM_INT(1) },// ?? { "uploadedfile", HTTPFORM_FILE(tmp) }, { "expire", HTTPFORM_INT(m_expire) },// 30m + //{ "expire", HTTPFORM_INT(2) },// 1h + //{ "expire", HTTPFORM_INT(3) },// 6h + //{ "expire", HTTPFORM_INT(4) },// 1d + //{ "expire", HTTPFORM_INT(5) },// 1w + //{ "x", HTTPFORM_INT(130) },// relative X coordinate of "BAKE FILE" button (unused?) + //{ "y", HTTPFORM_INT(17) },// relative Y coordinate of "BAKE FILE" button (unused?) }; int error = HTTPFormCreate(&m_nlhr, REQUEST_POST, kHostURL, frm, sizeof(frm) / sizeof(HTTPFormData)); mir_free(tmp); |