summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/remotecontrol/BluetoothServer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx
index d5bf9663a97c..b5f30e5da3f0 100644
--- a/sd/source/ui/remotecontrol/BluetoothServer.cxx
+++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx
@@ -1345,7 +1345,7 @@ void SAL_CALL BluetoothServer::run()
}
SOCKADDR aName;
- int aNameSize = sizeof(aAddr);
+ int aNameSize = sizeof(aName);
getsockname( aSocket, &aName, &aNameSize ); // Retrieve the local address and port
CSADDR_INFO aAddrInfo;