Commit 76d94555 authored by Pekka Pessi's avatar Pekka Pessi

su.h: define su_family via struct sockaddr

Ignore-this: 78f6bd9d3b6e5dea2f599a82f25d326c

darcs-hash:20090213154152-db55f-6249707d585c0a76fdc659ff6f00a073d1fafb53.gz
parent 91737e31
......@@ -163,11 +163,10 @@ union su_sockaddr_u {
short su_dummy; /**< Dummy member to initialize */
#if SU_HAVE_SOCKADDR_SA_LEN
#define su_len su_sa.sa_len
#define su_family su_sa.sa_family
#else
#define su_len su_array[0]
short su_family;
#endif
#define su_family su_sa.sa_family
#define su_port su_sin.sin_port
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment