fix update period
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user