diff options
author | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-15 00:32:19 (EST) |
---|---|---|
committer | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-15 00:32:19 (EST) |
commit | 32ee5d15aca5dcdae46084c4a07fb7a072af379a (patch) | |
tree | 7fb664dae18f5ffdde54f0900f9e25881fdfb37d /tests | |
parent | 261c929147fe205f35a57df70b4c126148903416 (diff) |
opkg: refactory active_list_next remove unnecessary field.
git-svn-id: http://opkg.googlecode.com/svn/trunk@168 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'tests')
-rw-r--r-- | tests/opkg_active_list_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/opkg_active_list_test.c b/tests/opkg_active_list_test.c index 88371a2..f7bd390 100644 --- a/tests/opkg_active_list_test.c +++ b/tests/opkg_active_list_test.c @@ -110,7 +110,7 @@ int main (void) { printf ("%s ",test->str); } printf("\n"); - for(ptr = active_list_next(&head, &head); ptr ;ptr = active_list_next(&head, ptr)) { + for(ptr = active_list_next(&head, NULL); ptr ;ptr = active_list_next(&head, ptr)) { test = list_entry(ptr, struct active_test, list); printf ("%s ",test->str); } |