From 885f40b84765bdcd5a0dcbdd7af93cf07d713350 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 9 Apr 2018 01:31:25 +0300 Subject: Switch upload files service from http://sprunge.us to http://ex.io --- src/net/download.cpp | 2 +- src/progs/manaplus/actions/actions.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/net/download.cpp b/src/net/download.cpp index 9fa617fbf..84d7f47e3 100644 --- a/src/net/download.cpp +++ b/src/net/download.cpp @@ -622,7 +622,7 @@ void Download::prepareForm(curl_httppost **form, const std::string &fileName) delete [] line; curl_formadd(form, &lastPtr, - CURLFORM_COPYNAME, "sprunge", + CURLFORM_COPYNAME, "f:1", CURLFORM_COPYCONTENTS, str.str().c_str(), CURLFORM_END); } diff --git a/src/progs/manaplus/actions/actions.cpp b/src/progs/manaplus/actions/actions.cpp index 8d82a70ce..9c9f34a1f 100644 --- a/src/progs/manaplus/actions/actions.cpp +++ b/src/progs/manaplus/actions/actions.cpp @@ -198,7 +198,7 @@ static void uploadFile(const std::string &str, { UploadChatInfo *const info = new UploadChatInfo; Net::Download *const upload = new Net::Download(info, - "http://sprunge.us", + "http://ix.io", &uploadUpdate, false, true, false); info->upload = upload; @@ -1658,7 +1658,7 @@ impHandler(uploadLog) // TRANSLATORS: upload log chat message uploadFile(_("Log uploaded to:"), settings.logFileName, - "?txt", + "", event.tab); return true; } -- cgit v1.2.3-70-g09d2