- /* Read the file. If there is an error, report it and exit. */
- if(!config_read_file(&cfg, fname))
- {
- AppConfiguration::error(&cfg);
- config_destroy(&cfg);
- exit(3);/* from original code. */
- }
-
- if(!config_lookup_int(&cfg, "node_number", &NodeNumber))
- {
- AppConfiguration::error(&cfg);
- config_destroy(&cfg);
- exit(3);
- }