| author | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2012-08-06 19:00:23 (GMT) |
|---|---|---|
| committer | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2012-08-06 19:01:03 (GMT) |
| commit | f3d7d66643671dd6349e58e92c2743d6600f6349 (patch) (side-by-side diff) | |
| tree | d370573e5e5375a7ce2658bca137d9cef2c91ddc | |
| parent | 770f581623ed0c7d31b9751ee789a72272b07c6c (diff) | |
| download | core-f3d7d66643671dd6349e58e92c2743d6600f6349.zip core-f3d7d66643671dd6349e58e92c2743d6600f6349.tar.gz | |
Fix for incorrect dereferencing.
Change-Id: I68e57988247f489b15df8c9f55b35ef7c5cabc1d
| -rw-r--r-- | sd/source/ui/remotecontrol/DiscoveryService.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/remotecontrol/DiscoveryService.cxx b/sd/source/ui/remotecontrol/DiscoveryService.cxx index 6c85e2f..53cbfd5 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' ) |
