summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor.c b/monitor.c
index db3030530..97b420fc3 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1226,7 +1226,7 @@ mm_record_login(Session *s, struct passwd *pw)
1226 fromlen = sizeof(from); 1226 fromlen = sizeof(from);
1227 if (packet_connection_is_on_socket()) { 1227 if (packet_connection_is_on_socket()) {
1228 if (getpeername(packet_get_connection_in(), 1228 if (getpeername(packet_get_connection_in(),
1229 (struct sockaddr *)&from, &fromlen) < 0) { 1229 (struct sockaddr *)&from, &fromlen) < 0) {
1230 debug("getpeername: %.100s", strerror(errno)); 1230 debug("getpeername: %.100s", strerror(errno));
1231 cleanup_exit(255); 1231 cleanup_exit(255);
1232 } 1232 }