ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/init.C
(Generate patch)

Comparing deliantra/server/server/init.C (file contents):
Revision 1.80 by root, Thu Apr 15 22:03:23 2010 UTC vs.
Revision 1.81 by root, Wed Apr 28 19:49:51 2010 UTC

31 * information, having it here probably makes more sense. 31 * information, having it here probably makes more sense.
32 */ 32 */
33void 33void
34load_settings () 34load_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);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines