summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2013-07-20 14:01:01 +0200
committerKevin Chabowski <kevin@kch42.de>2013-07-20 14:01:01 +0200
commit8e6850107adb5ca37ed0e9a4500282b2e8743294 (patch)
treeccd4ef7d03e79a5c9f32359f643275cdd27eb67c /config.c
parent2992a3f013aaa833f2c72ef1e368a9752b2bb889 (diff)
downloadnebula2-8e6850107adb5ca37ed0e9a4500282b2e8743294.tar.gz
nebula2-8e6850107adb5ca37ed0e9a4500282b2e8743294.tar.bz2
nebula2-8e6850107adb5ca37ed0e9a4500282b2e8743294.zip
Rough structure done. Parallel working should work.
Diffstat (limited to 'config.c')
-rw-r--r--config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.c b/config.c
index 032ea6a..72843e8 100644
--- a/config.c
+++ b/config.c
@@ -118,7 +118,7 @@ conf_load(char* path, config_t** conf) {
(!conf_get_int(ini, "nebula2:height", &((*conf)->height))) ||
(!conf_get_int(ini, "nebula2:jobsize", &((*conf)->jobsize))) ||
(!conf_get_int(ini, "nebula2:jobs", &((*conf)->jobs))) ||
- (!conf_get_int(ini, "nebula2:procn", &((*conf)->procn)))) {
+ (!conf_get_int(ini, "nebula2:threads", &((*conf)->threads)))) {
goto failed;
}
@@ -197,7 +197,7 @@ conf_print(config_t* conf) {
printf("height: %d\n", conf->height);
printf("jobsize: %d\n", conf->jobsize);
printf("jobs: %d\n", conf->jobs);
- printf("procn: %d\n", conf->procn);
+ printf("threads: %d\n", conf->threads);
printf("statefile: %s\n", conf->statefile);
printf("output: %s\n", conf->output);