- stevesk@cvs.openbsd.org 2001/02/04 08:32:27
     [many files; did this manually to our top-level source dir]
     unexpand and remove end-of-line whitespace; ok markus@
diff --git a/session.c b/session.c
index 51b661a..dcbf70f 100644
--- a/session.c
+++ b/session.c
@@ -62,7 +62,7 @@
 #endif /* WITH_IRIX_PROJECT */
 #ifdef WITH_IRIX_JOBS
 #include <sys/resource.h>
-#endif 
+#endif
 #ifdef WITH_IRIX_AUDIT
 #include <sat.h>
 #endif /* WITH_IRIX_AUDIT */
@@ -150,7 +150,7 @@
 static char *xauthfile;
 
 /* original command from peer. */
-char *original_command = NULL; 
+char *original_command = NULL;
 
 /* data */
 #define MAX_SESSIONS 10
@@ -874,11 +874,11 @@
 
 	if ((pam_env = fetch_pam_environment()) == NULL)
 		return;
-	
+
 	for(i = 0; pam_env[i] != NULL; i++) {
 		if ((equals = strstr(pam_env[i], "=")) == NULL)
 			continue;
-			
+
 		if (strlen(pam_env[i]) < (sizeof(var_name) - 1)) {
 			memset(var_name, '\0', sizeof(var_name));
 			memset(var_val, '\0', sizeof(var_val));
@@ -904,7 +904,7 @@
 	for(i = 0; environ[i] != NULL; i++) {
 		if ((equals = strstr(environ[i], "=")) == NULL)
 			continue;
-			
+
 		if (strlen(environ[i]) < (sizeof(var_name) - 1)) {
 			memset(var_name, '\0', sizeof(var_name));
 			memset(var_val, '\0', sizeof(var_val));
@@ -1106,7 +1106,7 @@
 			if (jid == -1) {
 				fatal("Failed to create job container: %.100s",
 				      strerror(errno));
-                        }
+			}
 #  endif /* WITH_IRIX_JOBS */
 #  ifdef WITH_IRIX_ARRAY
 			/* initialize array session */
@@ -1384,7 +1384,7 @@
 					fprintf(f, "add %s %s %s\n", display,
 					    auth_proto, auth_data);
 #ifndef HAVE_CYGWIN /* Unix sockets are not supported */
-					if (screen != NULL) 
+					if (screen != NULL)
 						fprintf(f, "add %.*s/unix%s %s %s\n",
 						    (int)(screen-display), display,
 						    screen, auth_proto, auth_data);
@@ -1968,7 +1968,7 @@
 		session_close(s);
 	} else {
 		/* notify child, delay session cleanup */
-		if (s->pid <= 1) 
+		if (s->pid <= 1)
 			fatal("session_close_by_channel: Unsafe s->pid = %d", s->pid);
 		if (kill(s->pid, (s->ttyfd == -1) ? SIGTERM : SIGHUP) < 0)
 			error("session_close_by_channel: kill %d: %s",