Fixed build.

This commit is contained in:
Matthias Koefferlein 2017-10-09 23:49:41 +02:00
parent 51fca6be05
commit 06a1002e25
1 changed files with 2 additions and 2 deletions

View File

@ -201,10 +201,10 @@ SaltController::install_packages (const std::vector<std::string> &packages, bool
if (n.find ("http:") == 0 || n.find ("https:") == 0 || n.find ("file:") == 0 || n[0] == '/' || n[0] == '\\') {
// it's a URL
manager.register_download (std::string (), n, v);
manager.register_download (std::string (), std::string (), n, v);
} else {
// it's a plain name
manager.register_download (n, std::string (), v);
manager.register_download (n, std::string (), std::string (), v);
}
}