From 8e6850107adb5ca37ed0e9a4500282b2e8743294 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Sat, 20 Jul 2013 14:01:01 +0200 Subject: Rough structure done. Parallel working should work. --- config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config.c') 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); -- cgit v1.2.3-54-g00ecf