diff options
author | Volker Lendecke <vl@samba.org> | 2008-10-02 03:37:52 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-10-02 03:45:37 +0200 |
commit | 8641b54a736c5c924bf38cf4574d1f8e34d2d0cd (patch) | |
tree | 0acc440d457ba9601734c8fb3088f2a8544d85c9 /source3/libsmb | |
parent | 9097a67def72ea41e85a4acb5d7cbcc46adaaa84 (diff) | |
download | samba-8641b54a736c5c924bf38cf4574d1f8e34d2d0cd.tar.gz samba-8641b54a736c5c924bf38cf4574d1f8e34d2d0cd.tar.bz2 samba-8641b54a736c5c924bf38cf4574d1f8e34d2d0cd.zip |
Attempt to fix the build on IRIX
Under irix, "sa_family" is a #define to sa_union.sa_generic.sa_family2
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/dsgetdcname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c index 89769d8a76..d2ede1d875 100644 --- a/source3/libsmb/dsgetdcname.c +++ b/source3/libsmb/dsgetdcname.c @@ -200,7 +200,7 @@ static NTSTATUS store_cldap_reply(TALLOC_CTX *mem_ctx, /* FIXME */ r->sockaddr_size = 0x10; /* the w32 winsock addr size */ - r->sockaddr.sa_family = 2; /* AF_INET */ + r->sockaddr.sockaddr_family = 2; /* AF_INET */ r->sockaddr.pdc_ip = talloc_strdup(mem_ctx, addr); ndr_err = ndr_push_struct_blob(&blob, mem_ctx, NULL, r, |