Changeset 7148:bc902ff79de8 in nginx


Ignore:
Timestamp:
10/05/17 13:50:35 (2 years ago)
Author:
Maxim Dounin <mdounin@…>
Branch:
stable-1.12
Phase:
public
Graft:
7122:935b1902a7dd
Message:

Fixed build without IPv6, broken by 874171c3c71a.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/core/ngx_inet.c

    r7120 r7122  
    183183{
    184184    u_char               *p;
     185#if (NGX_HAVE_INET6 || NGX_HAVE_UNIX_DOMAIN)
     186    size_t                n;
     187#endif
    185188    struct sockaddr_in   *sin;
    186189#if (NGX_HAVE_INET6)
    187     size_t                n;
    188190    struct sockaddr_in6  *sin6;
    189191#endif
Note: See TracChangeset for help on using the changeset viewer.