From: <sv...@ww...> - 2004-06-15 18:08:14
|
Author: delta Date: 2004-06-15 11:08:08 -0700 (Tue, 15 Jun 2004) New Revision: 1045 Modified: trunk/CSP/SimData/Include/SimData/Log.h Log: Typo in a condition. OS, plz check it. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=1045 Modified: trunk/CSP/SimData/Include/SimData/Log.h =================================================================== --- trunk/CSP/SimData/Include/SimData/Log.h 2004-06-14 08:37:38 UTC (rev 1044) +++ trunk/CSP/SimData/Include/SimData/Log.h 2004-06-15 18:08:08 UTC (rev 1045) @@ -61,7 +61,7 @@ char *save = getenv("SIMDATA_LOGFILE"); // default to stderr if SIMDATA_LOGFILE isn't set logstrm = new logstream(std::cerr); - if (save and *save) { + if (save) { logstrm->setOutput(save); } } |