if ( level == OPKG_ERROR ){
push_error_list(&error_list, msg);
} else
- printf(msg);
+ printf("%s",msg);
}
return 0;
}
char* default_opkg_response_callback(char *question)
{
char *response = NULL;
- printf(question);
+ printf("%s",question);
fflush(stdout);
do {
response = (char *)file_read_line_alloc(stdin);
err = opkg_conf_init (&opkg_conf, &args);
+ args_deinit (&args);
if (err)
{
opkg_print_error_list (&opkg_conf);
return err;
}
- args_deinit (&args);
-
if ( strcmp(cmd_name, "files")==0)
opkg_cb_list = default_opkg_files_callback;
else