Alessandro Pignotti : dplayx: Corrected the way nameserver initializes the sessiondesc structure on broadcast request reply .

Alexandre Julliard julliard at wine.codeweavers.com
Fri Mar 23 08:36:21 CDT 2007


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

Author: Alessandro Pignotti <alex.pigna at inventati.org>
Date:   Thu Mar 22 17:20:17 2007 +0100

dplayx: Corrected the way nameserver initializes the sessiondesc structure on broadcast request reply.

---

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

diff --git a/dlls/dplayx/name_server.c b/dlls/dplayx/name_server.c
index c731ea6..f46af67 100644
--- a/dlls/dplayx/name_server.c
+++ b/dlls/dplayx/name_server.c
@@ -410,7 +410,7 @@ void NS_ReplyToEnumSessionsRequest( LPCVOID lpcMsg,
   rmsg->envelope.wVersion   = DPMSGVER_DP6;
 
   CopyMemory( &rmsg->sd, lpDP->dp2->lpSessionDesc,
-              sizeof( lpDP->dp2->lpSessionDesc->dwSize ) );
+              lpDP->dp2->lpSessionDesc->dwSize );
   rmsg->dwUnknown = 0x0000005c;
   if( bAnsi )
   {




More information about the wine-cvs mailing list