BUG: Prevent from creating bogus files

This commit is contained in:
Andy Cedilnik 2005-08-24 11:18:26 -04:00
parent 049678f8ee
commit 547280b0ba
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ bool cmCTestGenericHandler::StartLogFile(const char* name, cmGeneratedFileStream
{ {
ostr << "_" << m_SubmitIndex; ostr << "_" << m_SubmitIndex;
} }
if ( m_CTest->GetCurrentTag().c_str() ) if ( *m_CTest->GetCurrentTag().c_str() )
{ {
ostr << "_" << m_CTest->GetCurrentTag(); ostr << "_" << m_CTest->GetCurrentTag();
} }