rename store_config_file load_config_file

This commit is contained in:
Cedric Roux
2016-06-05 17:54:38 +02:00
parent 18c2bdda98
commit 88c44ef9fe
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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");
+1 -1
View File
@@ -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_ */
+1 -1
View File
@@ -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));
+1 -1
View File
@@ -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));
+1 -1
View File
@@ -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));