From 257c0cad58cf6c810f1ad921688e587e87f7a92f Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Tue, 11 Oct 2022 13:41:17 -0400 Subject: 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! --- freefilesync/01_no_check_updates.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'freefilesync/01_no_check_updates.patch') 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(sendHttpGet(utfTo("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(""); } 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>& 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); -- cgit