diff options
| author | Julian Andres Klode <jak@debian.org> | 2025-05-25 14:46:45 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2025-08-26 13:52:57 +0200 |
| commit | 171c469927b1b7c5a4f81f113081985e7dc84597 (patch) | |
| tree | 17a7faafbe11f19a89fd846ecdbde943241bd625 /debian/libapt-pkg-doc.doc-base.method | |
| parent | 82cc584ee916df6bc558559b62863b34b069a710 (diff) | |
edsp: Do not skip lines (fixes Architecture reading)
We skipped the Architecture: line because when the outer
loop got to it, the inner loop started and read the next
line after it.
Get rid of the nested loop instead, and first run a loop
to find the request line, and then a second loop to parse
the request flags.
An alternative would be to use a combined loop that
supports non-compliant protocol implementations, but
that's harder to read and we don't expect there to be
any especially on the request side.
Diffstat (limited to 'debian/libapt-pkg-doc.doc-base.method')
0 files changed, 0 insertions, 0 deletions
