equal
deleted
inserted
replaced
194 DeleteConnection( i ); |
194 DeleteConnection( i ); |
195 |
195 |
196 //Add this new connection to connectionArray |
196 //Add this new connection to connectionArray |
197 CPresenceConnectionInfo* connectionInfo = |
197 CPresenceConnectionInfo* connectionInfo = |
198 CPresenceConnectionInfo::NewL( connection ); |
198 CPresenceConnectionInfo::NewL( connection ); |
199 iConnectionArray.Append( connectionInfo ); |
199 CleanupStack::PushL( connectionInfo ); |
|
200 iConnectionArray.AppendL( connectionInfo ); |
|
201 CleanupStack::Pop(); |
200 connection->SetConnectionArray( connectionInfo ); |
202 connection->SetConnectionArray( connectionInfo ); |
201 iConnections.AppendL( connection ); |
203 iConnections.AppendL( connection ); |
202 CleanupStack::Pop( connection ); |
204 CleanupStack::Pop( connection ); |
203 tmp = connection; |
205 tmp = connection; |
204 connected = ETrue; |
206 connected = ETrue; |
230 CleanupStack::PushL( connection ); |
232 CleanupStack::PushL( connection ); |
231 |
233 |
232 //Add this new connection to connectionArray |
234 //Add this new connection to connectionArray |
233 CPresenceConnectionInfo* connectionInfo = |
235 CPresenceConnectionInfo* connectionInfo = |
234 CPresenceConnectionInfo::NewL( connection ); |
236 CPresenceConnectionInfo::NewL( connection ); |
235 iConnectionArray.Append( connectionInfo ); |
237 CleanupStack::PushL( connectionInfo ); |
|
238 iConnectionArray.AppendL( connectionInfo ); |
|
239 CleanupStack::Pop(); |
236 connection->SetConnectionArray( connectionInfo ); |
240 connection->SetConnectionArray( connectionInfo ); |
237 //Add on binded client |
241 //Add on binded client |
238 connectionInfo->IncreaseClientCount(); |
242 connectionInfo->IncreaseClientCount(); |
239 |
243 |
240 iConnections.AppendL( connection ); |
244 iConnections.AppendL( connection ); |