summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2009-06-21 19:50:08 +1000
committerDarren Tucker <dtucker@zip.com.au>2009-06-21 19:50:08 +1000
commit43e7a358ff9476fb77bc1b475530ce4c6b152ccc (patch)
tree250c5aa73744f0cb1bacbdf28a6d1c9ea8ef05b8 /session.c
parente6b590e8d40e2b2ab0aab9da1b7d34cd357caf6a (diff)
- (dtucker) [auth2-jpake.c auth2.c canohost.h session.c] Whitespace and
header-order changes to reduce diff vs OpenBSD.
Diffstat (limited to 'session.c')
-rw-r--r--session.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/session.c b/session.c
index f04266f78..cdbf88ab7 100644
--- a/session.c
+++ b/session.c
@@ -715,8 +715,8 @@ do_exec_pty(Session *s, const char *command)
715 * Do common processing for the child, such as execing 715 * Do common processing for the child, such as execing
716 * the command. 716 * the command.
717 */ 717 */
718 do_child(s, command); 718 do_child(s, command);
719 /* NOTREACHED */ 719 /* NOTREACHED */
720 default: 720 default:
721 break; 721 break;
722 } 722 }
@@ -845,7 +845,7 @@ do_login(Session *s, const char *command)
845 fromlen = sizeof(from); 845 fromlen = sizeof(from);
846 if (packet_connection_is_on_socket()) { 846 if (packet_connection_is_on_socket()) {
847 if (getpeername(packet_get_connection_in(), 847 if (getpeername(packet_get_connection_in(),
848 (struct sockaddr *) & from, &fromlen) < 0) { 848 (struct sockaddr *)&from, &fromlen) < 0) {
849 debug("getpeername: %.100s", strerror(errno)); 849 debug("getpeername: %.100s", strerror(errno));
850 cleanup_exit(255); 850 cleanup_exit(255);
851 } 851 }