Changeset 12583


Ignore:
Timestamp:
Jul 25, 2011, 7:27:17 PM (10 years ago)
Author:
jch
Message:

Resynchronise with upstream libutp.c, commit 4be31bb7.

Location:
trunk/third-party/libutp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/third-party/libutp/README.md

    r11919 r12583  
    4646    cd utp_test && make
    4747
     48## Packaging and API
     49
     50The libutp API is considered unstable, and probably always will be. We encourage
     51you to test with the version of libutp you have, and be mindful when upgrading.
     52For this reason, it is probably also a good idea to bundle libutp with your
     53application.
     54
    4855## License
    4956
  • trunk/third-party/libutp/utp.cpp

    r12466 r12583  
    121121        byte get_family() const
    122122        {
    123                 return (IN6_IS_ADDR_V4MAPPED((in6_addr*)_sin6) != 0) ? AF_INET : AF_INET6;
     123                return (IN6_IS_ADDR_V4MAPPED(&_in._in6addr) != 0) ? AF_INET : AF_INET6;
    124124        }
    125125
Note: See TracChangeset for help on using the changeset viewer.