summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
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 }