branch | RCL_3 |
changeset 9 | a42ed326b458 |
parent 6 | 6a29d5ad0713 |
--- a/bluetoothengine/btaudioman/src/BTAccSession.cpp Fri Mar 12 15:43:23 2010 +0200 +++ b/bluetoothengine/btaudioman/src/BTAccSession.cpp Mon Mar 15 12:41:15 2010 +0200 @@ -253,6 +253,11 @@ //finished with the accessory info array infos.Close(); + if(buf.Length() <= 0) + { + ret = KErrNotFound; + } + //if there is no error and the buffer has something in, //write the buffer to the message if (ret == KErrNone)