diff 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
line wrap: on
line diff
--- a/common-session.c	Wed Nov 12 13:13:00 2008 +0000
+++ b/common-session.c	Thu Feb 26 12:18:11 2009 +0000
@@ -189,7 +189,7 @@
 		/* process session socket's incoming/outgoing data */
 		if (ses.sock_out != -1) {
 			if (FD_ISSET(ses.sock_out, &writefd) && !isempty(&ses.writequeue)) {
-				write_packet();
+				write_packets();
 			}
 		}