From 0a94ac22b072a4f64a8411893b24301f0de1b76c Mon Sep 17 00:00:00 2001 From: szostak Date: Sat, 29 Sep 2007 05:04:15 +0000 Subject: [PATCH] Fixing logic for generating log messages. --- HLT/BASE/util/AliHLTRootFileWriterComponent.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HLT/BASE/util/AliHLTRootFileWriterComponent.cxx b/HLT/BASE/util/AliHLTRootFileWriterComponent.cxx index 8a3b0e66749..38d6dfd0f20 100644 --- a/HLT/BASE/util/AliHLTRootFileWriterComponent.cxx +++ b/HLT/BASE/util/AliHLTRootFileWriterComponent.cxx @@ -96,7 +96,7 @@ int AliHLTRootFileWriterComponent::DumpEvent( const AliHLTComponentEventData& ev int count=0; while (pObj && iResult>=0) { iResult=WriteObject(evtData.fEventID, pObj); - if (iResult) { + if (iResult == 0) { count++; HLTDebug("wrote object of class %s, data type %s", pObj->ClassName(), (DataType2Text(GetDataType(pObj)).c_str())); } -- 2.39.3