Bruno Jesus : ws2_32: Make it clear that bit flags are in hex when tracing.

Alexandre Julliard julliard at winehq.org
Tue Feb 28 15:27:04 CST 2017


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

Author: Bruno Jesus <bjesus at codeweavers.com>
Date:   Tue Feb 28 14:55:25 2017 -0300

ws2_32: Make it clear that bit flags are in hex when tracing.

Signed-off-by: Bruno Jesus <bjesus at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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

diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index 97cb7db..32f187a 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -6540,7 +6540,7 @@ static int convert_aiflag_w2u(int winflags) {
             winflags &= ~ws_aiflag_map[i][0];
         }
     if (winflags)
-        FIXME("Unhandled windows AI_xxx flags %x\n", winflags);
+        FIXME("Unhandled windows AI_xxx flags 0x%x\n", winflags);
     return unixflags;
 }
 
@@ -6554,7 +6554,7 @@ static int convert_niflag_w2u(int winflags) {
             winflags &= ~ws_niflag_map[i][0];
         }
     if (winflags)
-        FIXME("Unhandled windows NI_xxx flags %x\n", winflags);
+        FIXME("Unhandled windows NI_xxx flags 0x%x\n", winflags);
     return unixflags;
 }
 
@@ -6567,8 +6567,8 @@ static int convert_aiflag_u2w(int unixflags) {
             winflags |= ws_aiflag_map[i][0];
             unixflags &= ~ws_aiflag_map[i][1];
         }
-    if (unixflags) /* will warn usually */
-        WARN("Unhandled UNIX AI_xxx flags %x\n", unixflags);
+    if (unixflags)
+        WARN("Unhandled UNIX AI_xxx flags 0x%x\n", unixflags);
     return winflags;
 }
 




More information about the wine-cvs mailing list