summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorAndrzej J.R. Hunt <andrzej@ahunt.org>2012-08-06 21:00:23 +0200
committerAndrzej J.R. Hunt <andrzej@ahunt.org>2012-08-06 21:01:03 +0200
commitf3d7d66643671dd6349e58e92c2743d6600f6349 (patch)
treed370573e5e5375a7ce2658bca137d9cef2c91ddc /sd
parent770f581623ed0c7d31b9751ee789a72272b07c6c (diff)
Fix for incorrect dereferencing.
Change-Id: I68e57988247f489b15df8c9f55b35ef7c5cabc1d
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/remotecontrol/DiscoveryService.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/remotecontrol/DiscoveryService.cxx b/sd/source/ui/remotecontrol/DiscoveryService.cxx
index 6c85e2fc9345..53cbfd5d018f 100644
--- a/sd/source/ui/remotecontrol/DiscoveryService.cxx
+++ b/sd/source/ui/remotecontrol/DiscoveryService.cxx
@@ -83,7 +83,7 @@ void DiscoveryService::execute()
sockaddr_in aAddr;
socklen_t aLen = sizeof( aAddr );
fprintf( stderr, "DiscoveryService waiting for packet\n" );
- recvfrom( mSocket, &aBuffer, BUFFER_SIZE, 0, (sockaddr*) &aAddr, &aLen );
+ recvfrom( mSocket, aBuffer, BUFFER_SIZE, 0, (sockaddr*) &aAddr, &aLen );
fprintf( stderr, "DiscoveryService received a packet.\n" );
for (int i = 0; i < BUFFER_SIZE; i++ ) {
if ( aBuffer[i] == '\n' )