diff -r 0c32cf868819 -r 70ee5458c95d connectionmonitoring/connmon/dataconnectionlogger/src/dclTimer.cpp --- a/connectionmonitoring/connmon/dataconnectionlogger/src/dclTimer.cpp Wed Oct 27 18:01:02 2010 +0300 +++ b/connectionmonitoring/connmon/dataconnectionlogger/src/dclTimer.cpp Thu Oct 28 13:13:30 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -59,11 +59,16 @@ // CDclTimerAO::Add // ----------------------------------------------------------------------------- // -void CDclTimerAO::Add( const TUint& aConnectionId ) +TInt CDclTimerAO::Add( const TUint& aConnectionId ) { - iConnectionIds.Append( aConnectionId ); + TInt err( KErrNone ); + err = iConnectionIds.Append( aConnectionId ); - NextTimerAfter(); + if ( !err ) + { + NextTimerAfter(); + } + return err; } // -----------------------------------------------------------------------------