Skip to content
  • Magnus Blåudd's avatar
    2df73586
    WL#8726 · 2df73586
    Magnus Blåudd authored
     - fix "error: missing initializer for member 'in_addr::"
     - it is not necessary to initialize the in_addr struct before
       using Ndb_getInAddr(), the function will return a properly
       initialized value.
     - also fix problem with how failure is returned from Ndb_inet_ntop(),
       add unit test for checking failure handling of function.
     - remove lots of uneccessary casts by changing Ndb_inet_ntop() to
       take size_t instead of socklen_t
    2df73586
    WL#8726
    Magnus Blåudd authored
     - fix "error: missing initializer for member 'in_addr::"
     - it is not necessary to initialize the in_addr struct before
       using Ndb_getInAddr(), the function will return a properly
       initialized value.
     - also fix problem with how failure is returned from Ndb_inet_ntop(),
       add unit test for checking failure handling of function.
     - remove lots of uneccessary casts by changing Ndb_inet_ntop() to
       take size_t instead of socklen_t
Loading