… | |
… | |
31 | * information, having it here probably makes more sense. |
31 | * information, having it here probably makes more sense. |
32 | */ |
32 | */ |
33 | void |
33 | void |
34 | load_settings () |
34 | load_settings () |
35 | { |
35 | { |
36 | char fname [1024]; |
36 | object_thawer thawer (settings.confdir, "settings"); |
37 | sprintf (fname, "%s/settings", settings.confdir); |
|
|
38 | object_thawer thawer (fname); |
|
|
39 | |
37 | |
40 | if (!thawer) |
38 | if (!thawer) |
41 | { |
39 | { |
42 | LOG (llevError, "Error: No settings file found\n"); |
40 | LOG (llevError, "Error: No settings file found\n"); |
43 | exit (1); |
41 | exit (1); |