diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-04-09 01:31:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-04-09 01:31:25 +0300 |
commit | 885f40b84765bdcd5a0dcbdd7af93cf07d713350 (patch) | |
tree | 9da3d18e880011f068b6df6e084ef569d250f1fd /src | |
parent | f20286b9d55784bd48cc1c55449540146995a60c (diff) | |
download | mv-885f40b84765bdcd5a0dcbdd7af93cf07d713350.tar.gz mv-885f40b84765bdcd5a0dcbdd7af93cf07d713350.tar.bz2 mv-885f40b84765bdcd5a0dcbdd7af93cf07d713350.tar.xz mv-885f40b84765bdcd5a0dcbdd7af93cf07d713350.zip |
Switch upload files service from http://sprunge.us to http://ex.io
Diffstat (limited to 'src')
-rw-r--r-- | src/net/download.cpp | 2 | ||||
-rw-r--r-- | 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; } |