diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-23 19:53:15 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-23 19:53:15 +0200 |
commit | d6a5476ee7af464a381bbeeec576ee58f3650a43 (patch) | |
tree | c19d8dab5fe71ad76f3d0f7698afc1300bf3443c /source3/auth/auth_server.c | |
parent | 55fd6b125c3e5ac135d124c291f5ae6102fcbb2f (diff) | |
download | samba-d6a5476ee7af464a381bbeeec576ee58f3650a43.tar.gz |
Use sockaddr_storage only where we rely on the size, use sockaddr
otherwise (to clarify we can also pass in structs smaller than
sockaddr_storage, such as sockaddr_in).
Diffstat (limited to 'source3/auth/auth_server.c')
-rw-r--r-- | source3/auth/auth_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_server.c b/source3/auth/auth_server.c index 696b42621e6..e74e3f5b3bf 100644 --- a/source3/auth/auth_server.c +++ b/source3/auth/auth_server.c @@ -65,7 +65,7 @@ static struct cli_state *server_cryptkey(TALLOC_CTX *mem_ctx) continue; } - if (ismyaddr(&dest_ss)) { + if (ismyaddr((struct sockaddr *)&dest_ss)) { DEBUG(1,("Password server loop - disabling password server %s\n",desthost)); continue; } |