--- deliantra/server/common/init.c 2006/02/22 18:01:18 1.1.1.2 +++ deliantra/server/common/init.c 2006/02/03 07:25:24 1.2 @@ -100,7 +100,7 @@ * in some file in the common area so that standalone * programs, like the random map generator, can be built. */ -const char* const spellpathnames[NRSPELLPATHS] = { +char *spellpathnames[NRSPELLPATHS] = { "Protection", "Fire", "Frost", @@ -236,9 +236,7 @@ settings.logfilename); logfile = stderr; } - else { - setvbuf(logfile, NULL, _IOLBF, 0); - } + setlinebuf(logfile); exiting = 0; first_player=NULL; first_friendly_object=NULL;