diff -r 630d2f34d719 -r 07a122eea281 smsprotocols/smsstack/test/smsstackbaseteststeps.cpp --- a/smsprotocols/smsstack/test/smsstackbaseteststeps.cpp Tue Aug 31 16:23:08 2010 +0300 +++ b/smsprotocols/smsstack/test/smsstackbaseteststeps.cpp Wed Sep 01 12:40:21 2010 +0100 @@ -307,13 +307,12 @@ RSmsSocketReadStream readstream(aSocket); TRAPD(ret, readstream >> *smsMessage); + TPckgBuf sbuf; TRequestStatus status; - - // aDesc arguments passed to Ioctl() method have been changed to NULL to keep it compliant with - // usage rules and to prevent OOM tests from failing + if(ret==KErrNone) { - aSocket.Ioctl(aIoctl, status, NULL, KSolSmsProv); + aSocket.Ioctl(aIoctl, status, &sbuf, KSolSmsProv); User::WaitForRequest(status); CleanupStack::Pop(smsMessage); TESTCHECK(status.Int(), KErrNone, "Notifying the SMS stack that message was received successfully"); @@ -322,7 +321,7 @@ //An error has occured, no message has been received else { - aSocket.Ioctl(KIoctlReadMessageFailed, status, NULL, KSolSmsProv); + aSocket.Ioctl(KIoctlReadMessageFailed, status, &sbuf, KSolSmsProv); User::WaitForRequest(status); TESTCHECK(status.Int(), KErrNone, "Notifying the SMS stack that message was not received"); ERR_PRINTF2(_L("Receiving message failed %d"), ret);