Forgot to increment expecting index

This commit is contained in:
Kovid Goyal
2026-01-24 14:55:25 +05:30
parent 85d813eeed
commit 9ac0f5b615

View File

@@ -360,6 +360,7 @@ func main(cmd *cli.Command, o *Options, args []string) (rc int, err error) {
}
for len(pending) > 0 && pending[0].input_sequence_number == expecting_input_sequence_number {
do_one(pending[0])
expecting_input_sequence_number++
pending = pending[1:]
}
}