return 0;
} else {
if ( level == OPKG_ERROR ){
- push_error_list(&error_list, msg);
+ push_error_list(msg);
} else
printf("%s",msg);
}
args_deinit (&args);
if (err)
{
- opkg_print_error_list (&opkg_conf);
+ print_error_list();
+ free_error_list();
return err;
}