Commit e22f8d2f authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

server: Print the debug trace to stderr.

parent 30c55f35
...@@ -466,7 +466,7 @@ static void sock_dump( struct object *obj, int verbose ) ...@@ -466,7 +466,7 @@ static void sock_dump( struct object *obj, int verbose )
{ {
struct sock *sock = (struct sock *)obj; struct sock *sock = (struct sock *)obj;
assert( obj->ops == &sock_ops ); 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->fd, sock->state,
sock->mask, sock->pmask, sock->hmask ); sock->mask, sock->pmask, sock->hmask );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment