summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-04-09 01:31:25 +0300
committerAndrei Karas <akaras@inbox.ru>2018-04-09 01:31:25 +0300
commit885f40b84765bdcd5a0dcbdd7af93cf07d713350 (patch)
tree9da3d18e880011f068b6df6e084ef569d250f1fd
parentf20286b9d55784bd48cc1c55449540146995a60c (diff)
downloadmanaplus-885f40b84765bdcd5a0dcbdd7af93cf07d713350.tar.gz
manaplus-885f40b84765bdcd5a0dcbdd7af93cf07d713350.tar.bz2
manaplus-885f40b84765bdcd5a0dcbdd7af93cf07d713350.tar.xz
manaplus-885f40b84765bdcd5a0dcbdd7af93cf07d713350.zip
Switch upload files service from http://sprunge.us to http://ex.io
-rw-r--r--src/net/download.cpp2
-rw-r--r--src/progs/manaplus/actions/actions.cpp4
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;
}