diff chansession.h @ 975:bfc8e66ceacf coverity

merge to coverity
author Matt Johnston <matt@ucc.asn.au>
date Tue, 21 Oct 2014 22:34:20 +0800
parents 7c9377467934
children deed0571cacc
line wrap: on
line diff
--- a/chansession.h	Tue Aug 19 23:36:46 2014 +0800
+++ b/chansession.h	Tue Oct 21 22:34:20 2014 +0800
@@ -51,9 +51,12 @@
 	/* exit details */
 	struct exitinfo exit;
 
-	/* Used to set $SSH_CONNECTION in the child session. 
-	Is only set temporarily before forking */
+
+	/* These are only set temporarily before forking */
+	/* Used to set $SSH_CONNECTION in the child session.  */
 	char *connection_string;
+	/* Used to set $SSH_CLIENT in the child session. */
+	char *client_string;
 	
 #ifndef DISABLE_X11FWD
 	struct Listener * x11listener;