--- deliantra/server/common/init.C 2010/01/31 03:46:20 1.53 +++ deliantra/server/common/init.C 2010/04/11 17:27:51 1.56 @@ -1,9 +1,9 @@ /* * This file is part of Deliantra, the Roguelike Realtime MMORPG. * - * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team - * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team - * Copyright (©) 1992,2007 Frank Tore Johansen + * Copyright (©) 2005,2006,2007,2008,2009,2010 Marc Alexander Lehmann / Robin Redeker / the Deliantra team + * Copyright (©) 2002 Mark Wedel & Crossfire Development Team + * Copyright (©) 1992 Frank Tore Johansen * * Deliantra is free software: you can redistribute it and/or modify it under * the terms of the Affero GNU General Public License as published by the @@ -163,16 +163,16 @@ init_globals () { if (settings.logfilename[0] == 0) - set_logfd (-1); + log_setfd (-1); else { int logfd = open (settings.logfilename, O_CREAT|O_WRONLY|O_APPEND, 0666); if (logfd >= 0) - set_logfd (logfd); + log_setfd (logfd); else { - set_logfd (-1); + log_setfd (-1); LOG (llevError, "Unable to open %s as the logfile - will use stderr instead", settings.logfilename); } }