diff common-channel.c @ 1071:696205e3dc99 pam

Remove ATTRIB_NORETURN from session_loop() since it returns. The stack breaks pretty badly.
author Matt Johnston <matt@ucc.asn.au>
date Tue, 17 Mar 2015 21:58:32 +0800
parents c71df09bc610
children 10f198d4a308
line wrap: on
line diff
--- a/common-channel.c	Mon Mar 16 22:10:30 2015 +0800
+++ b/common-channel.c	Tue Mar 17 21:58:32 2015 +0800
@@ -482,7 +482,7 @@
 
 	if (written < 0) {
 		if (errno != EINTR && errno != EAGAIN) {
-			TRACE(("errno %d len %d", errno, len))
+			TRACE(("errno %d", errno))
 			close_chan_fd(channel, fd, SHUT_WR);
 		}
 	} else {