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 11244d273..db3030530 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 }