diff -r ab2197e94294 -r 7f274f99c152 smsprotocols/smsstack/test/smsstackbaseteststeps.cpp --- a/smsprotocols/smsstack/test/smsstackbaseteststeps.cpp Wed Jun 16 15:43:02 2010 +0100 +++ b/smsprotocols/smsstack/test/smsstackbaseteststeps.cpp Thu Jul 22 16:45:24 2010 +0100 @@ -307,12 +307,13 @@ 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, &sbuf, KSolSmsProv); + aSocket.Ioctl(aIoctl, status, NULL, KSolSmsProv); User::WaitForRequest(status); CleanupStack::Pop(smsMessage); TESTCHECK(status.Int(), KErrNone, "Notifying the SMS stack that message was received successfully"); @@ -321,7 +322,7 @@ //An error has occured, no message has been received else { - aSocket.Ioctl(KIoctlReadMessageFailed, status, &sbuf, KSolSmsProv); + aSocket.Ioctl(KIoctlReadMessageFailed, status, NULL, 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);