summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp')
-rw-r--r--plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp b/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp
index eeaf4a9b89..d3fc4914d9 100644
--- a/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp
+++ b/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp
@@ -26,8 +26,10 @@ CSendHost_UploadPie::~CSendHost_UploadPie()
{
}
+/////////////////////////////////////////////////////////////////////////////////////////
+
static const char kHostURL[] = "https://uploadpie.com/";
-//---------------------------------------------------------------------------
+
int CSendHost_UploadPie::Send()
{
if (!g_hNetlibUser) { /// check Netlib
@@ -42,12 +44,6 @@ 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);