LibIMAP: Fix Parser::parse_disposition()

It didn't consume the initial opening "(" before.
This commit is contained in:
Valtteri Koskivuori 2023-07-31 23:52:59 +03:00 committed by Andrew Kaster
parent 35f1cec7ca
commit 2b23f3f216
Notes: sideshowbarker 2024-07-17 07:43:05 +09:00

View file

@ -561,6 +561,7 @@ Vector<DeprecatedString> Parser::parse_langs()
}
Tuple<DeprecatedString, HashMap<DeprecatedString, DeprecatedString>> Parser::parse_disposition()
{
consume("("sv);
auto disposition_type = parse_string();
consume(" "sv);
auto disposition_vals = parse_body_fields_params();