Change llist_add_* to take the address of the list rather than returning the new
head, and change all the callers.
This commit is contained in:
@@ -97,7 +97,7 @@ int ar_main(int argc, char **argv)
|
||||
|
||||
while (optind < argc) {
|
||||
archive_handle->filter = filter_accept_list;
|
||||
archive_handle->accept = llist_add_to(archive_handle->accept, argv[optind++]);
|
||||
llist_add_to(&(archive_handle->accept), argv[optind++]);
|
||||
}
|
||||
|
||||
archive_xread_all(archive_handle, magic, 7);
|
||||
|
Reference in New Issue
Block a user