diff -r 4e80e1b997a8 -r 9d84592f5036 bluetoothcommsprofiles/btpan/panagt/panagtremdev.cpp --- a/bluetoothcommsprofiles/btpan/panagt/panagtremdev.cpp Mon Jul 12 07:03:47 2010 +0300 +++ b/bluetoothcommsprofiles/btpan/panagt/panagtremdev.cpp Mon Jul 12 07:06:31 2010 +0300 @@ -1,4 +1,4 @@ -// Copyright (c) 2004-2009 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" @@ -93,7 +93,7 @@ { iRemSockAddr.SetBTAddr(aRemDevAddr); iRemSockAddr.SetPort(KBnepPsm); - iSockServ.Connect(); + User::LeaveIfError(iSockServ.Connect()); #ifdef __FLOG_ACTIVE TBuf tempDevAddrBuf; @@ -138,7 +138,7 @@ // make a note of the remote device address iSocket.RemoteName(iRemSockAddr); - iSockServ.Connect(); + User::LeaveIfError(iSockServ.Connect()); #ifdef __FLOG_ACTIVE TBuf tempDevAddrBuf;