ws2_32: Add default case for family in debugstr_wsaioctl.

Gerald Pfeifer gerald at pfeifer.com
Tue Sep 28 20:58:31 CDT 2010


This mimicks what we already do a few lines above for buf_type.

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

diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index b01b623..01fa9d0 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -2891,6 +2891,8 @@ static const char *debugstr_wsaioctl(DWORD ioctl)
         case WS_IOC_VENDOR:
             family = "IOC_VENDOR";
             break;
+        default:
+            family = "?";
         }
         switch (ioctl & (WS_IOC_VOID|WS_IOC_INOUT))
         {
-- 
1.7.2.2



More information about the wine-patches mailing list