summaryrefslogtreecommitdiff
path: root/source3/rpc_server/spoolss
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-02-27 09:57:18 +0100
committerVolker Lendecke <vlendec@samba.org>2011-02-27 11:02:53 +0100
commitfec0baacb658eb1bfc15c8ca4dfeecc1cf84eb79 (patch)
tree93055e96b9d02adf9804c69a25f35c0dcf4067b4 /source3/rpc_server/spoolss
parent561205b0166cb4a9c2efbb32b8429f6a83827eee (diff)
downloadsamba-fec0baacb658eb1bfc15c8ca4dfeecc1cf84eb79.tar.gz
samba-fec0baacb658eb1bfc15c8ca4dfeecc1cf84eb79.tar.bz2
samba-fec0baacb658eb1bfc15c8ca4dfeecc1cf84eb79.zip
s3: Make is_zero_addr take a sockaddr_storage
All callers had to cast this anyway Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 27 11:02:53 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/rpc_server/spoolss')
-rw-r--r--source3/rpc_server/spoolss/srv_spoolss_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/spoolss/srv_spoolss_nt.c b/source3/rpc_server/spoolss/srv_spoolss_nt.c
index 8d8dd61176..adcc09423d 100644
--- a/source3/rpc_server/spoolss/srv_spoolss_nt.c
+++ b/source3/rpc_server/spoolss/srv_spoolss_nt.c
@@ -2490,7 +2490,7 @@ static bool spoolss_connect_to_client(struct rpc_pipe_client **pp_pipe,
struct sockaddr_storage rm_addr;
char addr[INET6_ADDRSTRLEN];
- if ( is_zero_addr((struct sockaddr *)client_ss) ) {
+ if ( is_zero_addr(client_ss) ) {
DEBUG(2,("spoolss_connect_to_client: resolving %s\n",
remote_machine));
if ( !resolve_name( remote_machine, &rm_addr, 0x20, false) ) {