[Libreoffice-commits] .: sd/source

Andrzej J.R. Hunt ajrhunt at kemper.freedesktop.org
Mon Aug 6 12:03:42 PDT 2012


 sd/source/ui/remotecontrol/DiscoveryService.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f3d7d66643671dd6349e58e92c2743d6600f6349
Author: Andrzej J.R. Hunt <andrzej at ahunt.org>
Date:   Mon Aug 6 21:00:23 2012 +0200

    Fix for incorrect dereferencing.
    
    Change-Id: I68e57988247f489b15df8c9f55b35ef7c5cabc1d

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' )


More information about the Libreoffice-commits mailing list