diff options
author | Kevin Chabowski <kevin@kch42.de> | 2013-07-20 14:01:01 +0200 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2013-07-20 14:01:01 +0200 |
commit | 8e6850107adb5ca37ed0e9a4500282b2e8743294 (patch) | |
tree | ccd4ef7d03e79a5c9f32359f643275cdd27eb67c /config.c | |
parent | 2992a3f013aaa833f2c72ef1e368a9752b2bb889 (diff) | |
download | nebula2-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |