diff options
author | B. Stack <bgstack15@gmail.com> | 2022-10-11 13:41:17 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-10-11 13:41:17 -0400 |
commit | 257c0cad58cf6c810f1ad921688e587e87f7a92f (patch) | |
tree | eb0fea03f0766bb88a3c240bf11938fe885a05ff /freefilesync/01_no_check_updates.patch | |
parent | Merge branch 'xdg-themes-bump' into 'master' (diff) | |
download | stackrpms-257c0cad58cf6c810f1ad921688e587e87f7a92f.tar.gz stackrpms-257c0cad58cf6c810f1ad921688e587e87f7a92f.tar.bz2 stackrpms-257c0cad58cf6c810f1ad921688e587e87f7a92f.zip |
ffs 11.26 dpkg rc1
still need to fix ffs distro patches for rpm. Also, I need to
research if I can now use wx3.2 in the dpkg!
Diffstat (limited to 'freefilesync/01_no_check_updates.patch')
-rw-r--r-- | freefilesync/01_no_check_updates.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/freefilesync/01_no_check_updates.patch b/freefilesync/01_no_check_updates.patch index 956b476..d37005d 100644 --- a/freefilesync/01_no_check_updates.patch +++ b/freefilesync/01_no_check_updates.patch @@ -181,22 +181,22 @@ Message: This is a major rewrite of the ffs_no_check_updates patch from before 1 if (lastUpdateCheck == getVersionCheckInactiveId()) return false; -@@ -168,8 +170,7 @@ +@@ -175,8 +174,7 @@ std::wstring updateDetailsMsg; try { - updateDetailsMsg = utfTo<std::wstring>(sendHttpGet(utfTo<Zstring>("https://api.freefilesync.org/latest_changes?" + xWwwFormUrlEncode({{"since", ffsVersion}})), -- ffsUpdateCheckUserAgent, Zstring() /*caCertFilePath*/, nullptr /*notifyUnbufferedIO*/).readAll()); //throw SysError +- ffsUpdateCheckUserAgent, Zstring() /*caCertFilePath*/).readAll(nullptr /*notifyUnbufferedIO*/)); //throw SysError + updateDetailsMsg = utfTo<std::wstring>(""); } catch (const SysError& e) { updateDetailsMsg = _("Failed to retrieve update information.") + + L"\n\n" + e.toString(); } -@@ -191,8 +192,8 @@ +@@ -198,8 +196,8 @@ std::string getOnlineVersion(const std::vector<std::pair<std::string, std::string>>& postParams) //throw SysError { -- const std::string response = sendHttpPost(Zstr("https://api.freefilesync.org/latest_version"), postParams, -- ffsUpdateCheckUserAgent, Zstring() /*caCertFilePath*/, nullptr /*notifyUnbufferedIO*/).readAll(); //throw SysError +- const std::string response = sendHttpPost(Zstr("https://api.freefilesync.org/latest_version"), postParams, nullptr /*notifyUnbufferedIO*/, +- ffsUpdateCheckUserAgent, Zstring() /*caCertFilePath*/).readAll(nullptr /*notifyUnbufferedIO*/); //throw SysError + const std::string response = ""; + return trimCpy(response); |