X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Flibrary%2Floggers%2Ffile_logger.cpp;h=d21f7b5915d3669f79fce68f21586362acfbf111;hb=b43d05116706d888890418ce9f24fa540aa4ef10;hp=bd8c22a62e8f4c1ac51a4b337e19b24df3a71512;hpb=24b2947ed9364f3e83fa1bb544ff6b1fdbf0428f;p=feisty_meow.git diff --git a/nucleus/library/loggers/file_logger.cpp b/nucleus/library/loggers/file_logger.cpp index bd8c22a6..d21f7b59 100644 --- a/nucleus/library/loggers/file_logger.cpp +++ b/nucleus/library/loggers/file_logger.cpp @@ -60,7 +60,7 @@ int static_chaos() { file_logger::file_logger() : _filename(new astring()), _file_limit(DEFAULT_LOG_FILE_SIZE), - _outfile(NIL), + _outfile(NULL_POINTER), _flock(new mutex) { name(""); @@ -69,7 +69,7 @@ file_logger::file_logger() file_logger::file_logger(const astring &initial_filename, int limit) : _filename(new astring()), _file_limit(limit), - _outfile(NIL), + _outfile(NULL_POINTER), _flock(new mutex) { name(initial_filename);