diff options
Diffstat (limited to 'canohost.c')
-rw-r--r-- | canohost.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/canohost.c b/canohost.c index 8253e9b6e..87f56054b 100644 --- a/canohost.c +++ b/canohost.c | |||
@@ -56,7 +56,7 @@ get_remote_hostname(int socket, int reverse_mapping_check) | |||
56 | port = from6->sin6_port; | 56 | port = from6->sin6_port; |
57 | 57 | ||
58 | memset(&from, 0, sizeof(from)); | 58 | memset(&from, 0, sizeof(from)); |
59 | 59 | ||
60 | from4->sin_family = AF_INET; | 60 | from4->sin_family = AF_INET; |
61 | memcpy(&from4->sin_addr, &addr, sizeof(addr)); | 61 | memcpy(&from4->sin_addr, &addr, sizeof(addr)); |
62 | from4->sin_port = port; | 62 | from4->sin_port = port; |