mirror of
https://github.com/daijro/camoufox.git
synced 2026-10-29 16:05:58 +00:00
fix: add more context to SetAcceptEncodings hunk for better matching
- Changed from single line context (}) to 5 lines of context - Include NS_SUCCEEDED, Assign, return rv, and closing brace - This prevents fuzzy matching to wrong location
This commit is contained in:
@@ -49,7 +49,12 @@ index d0aebdf965..01472ec205 100644
|
||||
|
||||
mAcceptLanguagesIsDirty = false;
|
||||
|
||||
@@ -2097,8 +2111,12 @@ }
|
||||
@@ -2093,8 +2107,12 @@ nsresult nsHttpHandler::SetAcceptLanguages() {
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
mAcceptLanguages.Assign(buf);
|
||||
}
|
||||
return rv;
|
||||
}
|
||||
|
||||
nsresult nsHttpHandler::SetAcceptEncodings(const char* aAcceptEncodings,
|
||||
bool isSecure, bool isDictionary) {
|
||||
|
||||
Reference in New Issue
Block a user