Francois Gouget : wsock32: Fix the spelling of the XP_BANDWIDTH_ALLOCATION constant.

Alexandre Julliard julliard at winehq.org
Tue May 15 12:55:58 CDT 2012


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Tue May 15 09:46:29 2012 +0200

wsock32: Fix the spelling of the XP_BANDWIDTH_ALLOCATION constant.

---

 dlls/wsock32/protocol.c |    2 +-
 include/nspapi.h        |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/wsock32/protocol.c b/dlls/wsock32/protocol.c
index 85cb54b..9482887 100644
--- a/dlls/wsock32/protocol.c
+++ b/dlls/wsock32/protocol.c
@@ -83,7 +83,7 @@ static DWORD map_service(DWORD wsaflags)
     if (wsaflags & XP1_DISCONNECT_DATA)     flags |= XP_DISCONNECT_DATA;
     if (wsaflags & XP1_SUPPORT_BROADCAST)   flags |= XP_SUPPORTS_BROADCAST;
     if (wsaflags & XP1_SUPPORT_MULTIPOINT)  flags |= XP_SUPPORTS_MULTICAST;
-    if (wsaflags & XP1_QOS_SUPPORTED)       flags |= XP_BANDWITH_ALLOCATION;
+    if (wsaflags & XP1_QOS_SUPPORTED)       flags |= XP_BANDWIDTH_ALLOCATION;
     if (wsaflags & XP1_PARTIAL_MESSAGE)     flags |= XP_FRAGMENTATION;
     return flags;
 }
diff --git a/include/nspapi.h b/include/nspapi.h
index a62f4d9..dc0e0f5 100644
--- a/include/nspapi.h
+++ b/include/nspapi.h
@@ -38,7 +38,7 @@ extern "C" {
 #define XP_DISCONNECT_DATA		0x00000100
 #define XP_SUPPORTS_BROADCAST		0x00000200
 #define XP_SUPPORTS_MULTICAST		0x00000400
-#define XP_BANDWITH_ALLOCATION		0x00000800
+#define XP_BANDWIDTH_ALLOCATION		0x00000800
 #define XP_FRAGMENTATION		0x00001000
 #define XP_ENCRYPTS			0x00002000
 




More information about the wine-cvs mailing list