forked from Mirrors/wine-wine
parent
ff49652ef6
commit
a5f816c6d3
|
@ -272,12 +272,16 @@ static void call_req_handler( struct thread *thread )
|
|||
{
|
||||
req_handlers[req]( ¤t->req, &reply );
|
||||
if (current)
|
||||
{
|
||||
if (current->reply_fd)
|
||||
{
|
||||
reply.reply_header.error = current->error;
|
||||
reply.reply_header.reply_size = current->reply_size;
|
||||
if (debug_level) trace_reply( req, &reply );
|
||||
send_reply( &reply );
|
||||
}
|
||||
else fatal_protocol_error( current, "no reply fd for request %d\n", req );
|
||||
}
|
||||
current = NULL;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue