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

Alexandre Julliard julliard at winehq.org
Fri Nov 4 12:17:34 CDT 2011


Module: wine
Branch: master
Commit: a38b3008c5c14f6850c6b9c6c79b1f8d81848d24
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a38b3008c5c14f6850c6b9c6c79b1f8d81848d24

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Thu Nov  3 23:03:22 2011 +0000

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

---

 dlls/ws2_32/socket.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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-cvs mailing list