ws2_32: Make SOCKET output consistent

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Tue Oct 7 18:05:58 CDT 2014


Hi,

Changelog:
       ws2_32: Make SOCKET output consistent


Best Regards
   Alistair Leslie-Hughes
-------------- next part --------------
>From 983cf0418992139ecaeef25a1664452268705e91 Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Wed, 8 Oct 2014 09:27:19 +1100
Subject: [PATCH] Make SOCKET output consistant
To: wine-patches <wine-patches at winehq.org>

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

diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index 98ed686..732ee0a 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -2293,7 +2293,7 @@ static int WS2_register_async_shutdown( SOCKET s, int type )
     struct ws2_async *wsa;
     NTSTATUS status;
 
-    TRACE("s %ld type %d\n", s, type);
+    TRACE("s %04lx type %d\n", s, type);
 
     wsa = HeapAlloc( GetProcessHeap(), 0, FIELD_OFFSET( struct ws2_async, iovec[1] ));
     if ( !wsa )
@@ -3744,7 +3744,7 @@ INT WINAPI WSAIoctl(SOCKET s, DWORD code, LPVOID in_buff, DWORD in_size, LPVOID
     int fd;
     DWORD status = 0, total = 0;
 
-    TRACE("%ld, %s, %p, %d, %p, %d, %p, %p, %p\n",
+    TRACE("%04lx, %s, %p, %d, %p, %d, %p, %p, %p\n",
           s, debugstr_wsaioctl(code), in_buff, in_size, out_buff, out_size, ret_size, overlapped, completion);
 
     switch (code)
-- 
1.9.1



More information about the wine-patches mailing list