moonbridge

changeset 307:707e32177a1e

Fixed use of INET_ADDRSTRLEN constant (for IPv4)
author jbe
date Fri Nov 24 00:41:34 2017 +0100 (21 months ago)
parents 25f40c8d5082
children 7751e4982916
files moonbridge.c
line diff
     1.1 --- a/moonbridge.c	Sun Nov 19 02:21:26 2017 +0100
     1.2 +++ b/moonbridge.c	Fri Nov 24 00:41:34 2017 +0100
     1.3 @@ -2038,7 +2038,7 @@
     1.4            addrinfo->ai_family,
     1.5            &((struct sockaddr_in *)addrinfo->ai_addr)->sin_addr,
     1.6            listener->proto_specific.tcp.ip,
     1.7 -          INET6_ADDRSTRLEN
     1.8 +          INET_ADDRSTRLEN
     1.9          );
    1.10          if (!ip) {
    1.11            moonbr_log(LOG_CRIT, "System error in inet_ntop call: %s", strerror(errno));

Impressum / About Us