ws2_32: Remove unneeded address-of operator from array name

Andrew Talbot andrew.talbot at talbotville.com
Thu Nov 3 18:03:22 CDT 2011


Changelog:
    ws2_32: Remove unneeded address-of operator from array name.

diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index 219e954..00a15b6 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -2784,7 +2784,7 @@ INT WINAPI WS_getsockopt(SOCKET s, INT level,
                             &src->dev[i].daddr,
                             sizeof(dst->Device[i].irdaDeviceID) ) ;
                     memcpy( dst->Device[i].irdaDeviceName,
-                            &src->dev[i].info,
+                            src->dev[i].info,
                             sizeof(dst->Device[i].irdaDeviceName) ) ;
                     memcpy( &dst->Device[i].irdaDeviceHints1,
                             &src->dev[i].hints[0],



More information about the wine-patches mailing list