another attempt to fix xclient

This commit is contained in:
Unbit
2013-06-22 11:18:25 +02:00
parent a9510c2209
commit cf8e68f7a0
+1 -1
View File
@@ -112,7 +112,7 @@ static ssize_t rr_xclient_write(struct corerouter_peer *peer) {
if (!len) return 0;
if (cr_write_complete_buf(peer, rr->xclient)) {
if (peer->session->main_peer->out) {
if (peer->session->main_peer->out_pos) {
// (eventually) send previous data
cr_write_to_main(peer, rr_write);
}