server: Print the debug trace to stderr.

Dmitry Timoshkov dmitry at baikal.ru
Tue Sep 3 21:47:03 CDT 2013


---
 server/sock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/sock.c b/server/sock.c
index d6a228e..145e2a7 100644
--- a/server/sock.c
+++ b/server/sock.c
@@ -466,7 +466,7 @@ static void sock_dump( struct object *obj, int verbose )
 {
     struct sock *sock = (struct sock *)obj;
     assert( obj->ops == &sock_ops );
-    printf( "Socket fd=%p, state=%x, mask=%x, pending=%x, held=%x\n",
+    fprintf( stderr, "Socket fd=%p, state=%x, mask=%x, pending=%x, held=%x\n",
             sock->fd, sock->state,
             sock->mask, sock->pmask, sock->hmask );
 }
-- 
1.8.3.4




More information about the wine-patches mailing list