mirror of https://github.com/neutrinolabs/xrdp
common: try to send data in trans_write_copy
This commit is contained in:
parent
1deac46fdc
commit
3c218ad3f2
|
@ -471,6 +471,15 @@ trans_write_copy(struct trans *self)
|
|||
}
|
||||
temp_s->next_packet = (char *) wait_s;
|
||||
}
|
||||
|
||||
/* try to send */
|
||||
if (send_waiting(self, 0) != 0)
|
||||
{
|
||||
/* error */
|
||||
self->status = TRANS_STATUS_DOWN;
|
||||
return 1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue