]> git.notmuchmail.org Git - apitrace/commitdiff
trim: Fix early-bailout bug when accepting both --calls and --frames
authorCarl Worth <cworth@cworth.org>
Mon, 11 Mar 2013 22:49:17 +0000 (15:49 -0700)
committerCarl Worth <cworth@cworth.org>
Fri, 12 Apr 2013 21:07:08 +0000 (14:07 -0700)
The trim code was inappropriately bailing once either list was
exhausted, before also exhausting the user's other requested list.

This fixes the traces/trim-frames-and-calls test recently added to the
apitrace-tests repository.

Thanks to Eric Anholt for reporting this bug.


No differences found