diff options
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | } |