int main(int argc, char** argv)
{
program_config* config = malloc(sizeof(program_config));
-
char* config_stream = NULL;
+
+ printf("config file %s\n", argv[1]);
read_config_file(argv[1], &config_stream);
- printf("config:\n%s\n", config_stream);
load_config(config, config_stream);
- printf("scanner_url: %s", config->scanner_url);
- printf("username %s", config->username);
+ printf("scanner_url: %s\n", config->scanner_url);
+ printf("username: %s\n", config->username);
free(config_stream);
config_stream = NULL;