loggingservices/filelogger/SCLI/FLOGCLI.CPP
branchRCL_3
changeset 6 5ffdb8f2067f
parent 0 08ec8eefde2f
child 21 fcc16690f446
--- a/loggingservices/filelogger/SCLI/FLOGCLI.CPP	Wed Feb 03 12:02:34 2010 +0000
+++ b/loggingservices/filelogger/SCLI/FLOGCLI.CPP	Sat Feb 20 00:33:55 2010 +0200
@@ -595,14 +595,8 @@
 		{
 		TBuf<KLogBufferSize> n;
 		n.Copy(aBuf);
- 	 	if (iLogFile.Valid())
-			{
-			TFileName logFileName = iLogFile.Name();
-			RDebug::Print(_L("FLG %S %S"),&logFileName,&n);
-			} else
-				{
-				RDebug::Print(_L("FLG %S "),&n);
-				}
+		TFileName logFileName = iLogFile.Name();
+		RDebug::Print(_L("FLG %S %S"),&logFileName,&n);
 		} else 		
 			{
 			TPckg<TLogFile> logFilePckg(iLogFile);
@@ -628,15 +622,8 @@
  		{
  	 	TBuf<KLogBufferSize> n;
  	 	n.Copy(aBuf);
- 	 	if (iLogFile.Valid())
-			{
-			TFileName logFileName = iLogFile.Name();
-			RDebug::Print(_L("FLG %S %S"),&logFileName,&n);
-			} else
-				{
-				RDebug::Print(_L("FLG %S "),&n);
-				}
- 	 	
+		TFileName logFileName = iLogFile.Name();
+		RDebug::Print(_L("FLG %S %S"),&logFileName,&n);
  		} else
  			{
  			SendReceive(ECreateWriteAndCloseLog, TIpcArgs( &logFilePckg, &aBuf));		// ignore error