mirror of
https://github.com/pumpitupdev/pumptools.git
synced 2024-11-27 16:10:55 +01:00
wip
This commit is contained in:
parent
abbee9291b
commit
e21a9638a2
@ -56,7 +56,7 @@ static void prihook_bootstrapping(int argc, char** argv, struct prihook_options*
|
||||
return;
|
||||
}
|
||||
|
||||
hook_core_piu_log_init(argc, argv);
|
||||
// hook_core_piu_log_init(argc, argv);
|
||||
|
||||
if (!prihook_options_init(argc, argv, options)) {
|
||||
exit(0);
|
||||
|
@ -150,6 +150,8 @@ bool prihook_options_init(int argc, char** argv, struct prihook_options* options
|
||||
|
||||
struct util_options_opts* options_opt;
|
||||
|
||||
log_warn("!!!! %d", prihook_options_defs.ndefs);
|
||||
|
||||
util_options_init(argc, argv);
|
||||
options_opt = util_options_get(&prihook_options_defs);
|
||||
|
||||
|
@ -318,6 +318,8 @@ static struct util_options_opts* util_options_get2(
|
||||
options->defs = option_defs;
|
||||
options->entries = option_defs->ndefs;
|
||||
|
||||
log_warn(">>>> %d", option_defs->ndefs);
|
||||
|
||||
options->values = (struct util_options_value*) util_xmalloc(
|
||||
sizeof(struct util_options_value) * options->entries);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user