diff options
author | Michael Meeks <michael.meeks@suse.com> | 2013-03-21 19:10:40 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-03-22 11:39:24 +0000 |
commit | c8fcfb3c87a7aa857bd98209718b2fde99c901c2 (patch) | |
tree | 732a6090843282bd7073d11e9162d4b06661fed8 /sd | |
parent | 24d5261f5a122e22675210445056cdf67663237b (diff) |
sdremote: add more verbose protocol debug.
Change-Id: I1b189824f2b0bb2cf4568378e7ab3efd5a677141
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/remotecontrol/BufferedStreamSocket.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx b/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx index c1e02875a6f9..4b4c1ce1d980 100644 --- a/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx +++ b/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx @@ -90,6 +90,8 @@ sal_Int32 BufferedStreamSocket::readLine( OString& aLine ) aBuffer.erase( aBuffer.begin(), aIt + 1 ); // Also delete the empty line aRead -= (aLocation + 1); + SAL_INFO( "sdremote.bluetooth", "recv line '" << aLine << "'" ); + return aLine.getLength() + 1; } @@ -100,6 +102,7 @@ sal_Int32 BufferedStreamSocket::readLine( OString& aLine ) else aRet = ::recv( mSocket, &aBuffer[aRead], 100, 0 ); + SAL_INFO( "sdremote.bluetooth", "recv " << aRet << " aBuffer len " << aBuffer.size() ); if ( aRet <= 0 ) { return 0; |