commit | c4763a0aba5a9c4e12f024991bf3f73e6860e33e | [log] [tgz] |
---|---|---|
author | Petr Machata <pmachata@redhat.com> | Tue Jan 08 23:19:14 2013 +0100 |
committer | Petr Machata <pmachata@redhat.com> | Fri Mar 08 22:55:32 2013 +0100 |
tree | b75803bb5d3bf2412a86267a4d6cd4b37b27988a | |
parent | de98cb698d69ccbbb4388a6401a27897ba02371a [diff] [blame] |
proc_each_library should iterate from passed-in iterator non-inclusive - the semantics should be start_after, as in other cases in ltrace
diff --git a/proc.c b/proc.c index acd37e8..b1c0a94 100644 --- a/proc.c +++ b/proc.c
@@ -908,6 +908,8 @@ { if (it == NULL) it = proc->libraries; + else + it = it->next; while (it != NULL) { struct library *next = it->next;