wsock32: Fix the spelling of the XP_BANDWIDTH_ALLOCATION constant.
Francois Gouget
fgouget at free.fr
Tue May 15 02:46:29 CDT 2012
---
It's spelled correctly in the Windows 7 SDK.
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
--
1.7.10
More information about the wine-patches
mailing list