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 de02dbdbfbe5..13c69d1fe552 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;