Bug 932543 - Fix bustage. a=bustage
authorRyan VanderMeulen <ryanvm@gmail.com>
Wed, 04 Dec 2013 15:27:47 -0500
changeset 119968 05117f42088f
parent 119967 97e2069ba2a0
child 119969 c4caff0299e7
push id1104
push userryanvm@gmail.com
push date2013-12-04 20:27 +0000
reviewersbustage
bugs932543
milestone18.1
Bug 932543 - Fix bustage. a=bustage
dom/bluetooth/BluetoothOppManager.cpp
--- a/dom/bluetooth/BluetoothOppManager.cpp
+++ b/dom/bluetooth/BluetoothOppManager.cpp
@@ -732,17 +732,17 @@ BluetoothOppManager::ComposePacket(uint8
     mPutFinalFlag = (aOpCode == ObexRequestCode::PutFinal);
   }
 
   int dataLength = aMessage->mSize - frameHeaderLength;
 
   // Check length before memcpy to prevent from memory pollution
   if (dataLength < 0 ||
       mPacketReceivedLength + dataLength > mPacketLength) {
-    BT_LOGR("%s: Received packet size is unreasonable", __FUNCTION__);
+    BT_LOG("%s: Received packet size is unreasonable", __FUNCTION__);
 
     ReplyToPut(mPutFinalFlag, false);
     DeleteReceivedFile();
     FileTransferComplete();
 
     return false;
   }