summaryrefslogtreecommitdiff
path: root/source3/smbd/server.c
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2008-12-30 12:53:34 -0800
committerTim Prouty <tprouty@samba.org>2008-12-30 12:53:34 -0800
commit99c68fa23e5911b2037165f3cf73a49abb5251ce (patch)
tree1935929fa65d093d9c129bd0f6b12ec4b3ce6860 /source3/smbd/server.c
parent465176b7e2fc1370dded850a80a8fe8519e79db8 (diff)
downloadsamba-99c68fa23e5911b2037165f3cf73a49abb5251ce.tar.gz
samba-99c68fa23e5911b2037165f3cf73a49abb5251ce.tar.bz2
samba-99c68fa23e5911b2037165f3cf73a49abb5251ce.zip
s3 build: Fix warning
Diffstat (limited to 'source3/smbd/server.c')
-rw-r--r--source3/smbd/server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index cfdd05ba2f..254180ae1c 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -59,6 +59,7 @@ int get_client_fd(void)
return server_fd;
}
+#ifdef CLUSTER_SUPPORT
static int client_get_tcp_info(struct sockaddr_storage *server,
struct sockaddr_storage *client)
{
@@ -76,6 +77,7 @@ static int client_get_tcp_info(struct sockaddr_storage *server,
}
return 0;
}
+#endif
struct event_context *smbd_event_context(void)
{