Fix Build
This commit is contained in:
parent
b2c8fbd341
commit
1904b22977
1 changed files with 2 additions and 2 deletions
|
|
@ -832,7 +832,7 @@ int BotControl::cmdNodeUpload () {
|
||||||
|
|
||||||
// try to upload the file
|
// try to upload the file
|
||||||
if (http.uploadFile ("http://upload.ubot.su/", strings.format ("%sgraph/%s.graph", graph.getDataDirectory (false), game.getMapName ()))) {
|
if (http.uploadFile ("http://upload.ubot.su/", strings.format ("%sgraph/%s.graph", graph.getDataDirectory (false), game.getMapName ()))) {
|
||||||
msg ("Graph file was successfully validated and uploaded to the Ubot S3 storage (%s).", product.download);
|
msg ("Graph file was successfully validated and uploaded to the Ubot S3 storage (https://dl.ubot.su/).");
|
||||||
msg ("It will be available for download for all Ubot and YaPB users in a few minutes");
|
msg ("It will be available for download for all Ubot and YaPB users in a few minutes");
|
||||||
msg ("\n");
|
msg ("\n");
|
||||||
msg ("Thank you.");
|
msg ("Thank you.");
|
||||||
|
|
@ -851,7 +851,7 @@ int BotControl::cmdNodeUpload () {
|
||||||
else {
|
else {
|
||||||
status.assignf ("%d", code);
|
status.assignf ("%d", code);
|
||||||
}
|
}
|
||||||
msg ("Something went wrong with uploading. Come back later. (%s)", status);
|
msg ("Something went wrong with uploading. Come back later. (%s)", status.chars ());
|
||||||
msg ("\n");
|
msg ("\n");
|
||||||
|
|
||||||
if (code == HttpClientResult::Forbidden) {
|
if (code == HttpClientResult::Forbidden) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue