summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2013-03-21 19:10:40 +0000
committerMichael Meeks <michael.meeks@suse.com>2013-03-22 11:39:24 +0000
commitc8fcfb3c87a7aa857bd98209718b2fde99c901c2 (patch)
tree732a6090843282bd7073d11e9162d4b06661fed8 /sd
parentfdo#62288 fix RTF import of table paragraph margins (diff)
downloadcore-c8fcfb3c87a7aa857bd98209718b2fde99c901c2.tar.gz
core-c8fcfb3c87a7aa857bd98209718b2fde99c901c2.zip
sdremote: add more verbose protocol debug.
Change-Id: I1b189824f2b0bb2cf4568378e7ab3efd5a677141
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/remotecontrol/BufferedStreamSocket.cxx3
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;