fix update period

This commit is contained in:
2022-02-15 17:38:01 +01:00
parent 779edcd6dd
commit 0d12ce7dcd
2 changed files with 10 additions and 4 deletions

View File

@ -124,6 +124,7 @@ main (int argc, char** argv) {
urlBase ("http://file.kaz.bzh"),
apiPage ("/script.php"),
downloadPage ("/f.php"),
updatePage ("/a.php"),
minimumAvailability ("month"),
proxy;
@ -264,8 +265,8 @@ main (int argc, char** argv) {
break;
case UPDATE: {
LOG ("UPDATE: " << (urlBase+downloadPage));
curl_easy_setopt (easyhandle, CURLOPT_URL, (urlBase+downloadPage).c_str ());
LOG ("UPDATE: " << (urlBase+updatePage));
curl_easy_setopt (easyhandle, CURLOPT_URL, (urlBase+updatePage).c_str ());
LOG ("h: " << inputFileName);
part = curl_mime_addpart (multipart);