summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;
}