comparison common-session.c @ 529:da6340a60039

- Try to write out as much as we can
author Matt Johnston <matt@ucc.asn.au>
date Thu, 26 Feb 2009 12:18:11 +0000
parents a3748e54273c
children 164b7c2cd5df
comparison
equal deleted inserted replaced
518:ce104c8b0be1 529:da6340a60039
187 checktimeouts(); 187 checktimeouts();
188 188
189 /* process session socket's incoming/outgoing data */ 189 /* process session socket's incoming/outgoing data */
190 if (ses.sock_out != -1) { 190 if (ses.sock_out != -1) {
191 if (FD_ISSET(ses.sock_out, &writefd) && !isempty(&ses.writequeue)) { 191 if (FD_ISSET(ses.sock_out, &writefd) && !isempty(&ses.writequeue)) {
192 write_packet(); 192 write_packets();
193 } 193 }
194 } 194 }
195 195
196 if (ses.sock_in != -1) { 196 if (ses.sock_in != -1) {
197 if (FD_ISSET(ses.sock_in, &readfd)) { 197 if (FD_ISSET(ses.sock_in, &readfd)) {