Commit 88c44ef9 authored by Cedric Roux's avatar Cedric Roux

rename store_config_file load_config_file

parent 18c2bdda
......@@ -33,7 +33,7 @@ void append_received_config_chunk(char *buf, int length)
}
}
void store_config_file(char *filename)
void load_config_file(char *filename)
{
int c;
FILE *f = fopen(filename, "r");
......
......@@ -2,7 +2,7 @@
#define _CONFIG_H_
void append_received_config_chunk(char *buf, int length);
void store_config_file(char *filename);
void load_config_file(char *filename);
void verify_config(void);
#endif /* _CONFIG_H_ */
......@@ -279,7 +279,7 @@ int main(int n, char **v)
database = parse_database(database_filename);
store_config_file(database_filename);
load_config_file(database_filename);
number_of_events = number_of_ids(database);
is_on = calloc(number_of_events, sizeof(int));
......
......@@ -130,7 +130,7 @@ int main(int n, char **v)
database = parse_database(database_filename);
store_config_file(database_filename);
load_config_file(database_filename);
number_of_events = number_of_ids(database);
is_on = calloc(number_of_events, sizeof(int));
......
......@@ -162,7 +162,7 @@ int main(int n, char **v)
database = parse_database(database_filename);
store_config_file(database_filename);
load_config_file(database_filename);
number_of_events = number_of_ids(database);
is_on = calloc(number_of_events, sizeof(int));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment