[PATCH] ws2_32: Make it clear that bit flags are in hex when tracing
Bruno Jesus
00cpxxx at gmail.com
Tue Feb 28 11:55:25 CST 2017
From: Bruno Jesus <bjesus at codeweavers.com>
Spotted while testing Theraoffice.
Signed-off-by: Bruno Jesus <bjesus at codeweavers.com>
---
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 f0e8f2a..99537fc 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -6539,7 +6539,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;
}
@@ -6553,7 +6553,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;
}
@@ -6566,8 +6566,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;
}
--
2.9.3
More information about the wine-patches
mailing list