Fix Build

This commit is contained in:
jeefo 2020-04-12 17:43:52 +03:00 committed by GitHub
commit 1904b22977
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -832,7 +832,7 @@ int BotControl::cmdNodeUpload () {
// try to upload the file
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 ("\n");
msg ("Thank you.");
@ -851,7 +851,7 @@ int BotControl::cmdNodeUpload () {
else {
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");
if (code == HttpClientResult::Forbidden) {