From 7630e73dac6562f91f05fdf09940ad3f1511a66e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 1 Jun 2011 11:09:39 +1000 Subject: s3-param prepare for some lp_ functions to return const --- source3/libads/ldap.c | 2 +- source3/smbd/server.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index 19cb3ad2d6..375dc3bf27 100644 --- a/source3/libads/ldap.c +++ b/source3/libads/ldap.c @@ -529,7 +529,7 @@ ADS_STATUS ads_connect_gc(ADS_STRUCT *ads) TALLOC_CTX *frame = talloc_stackframe(); struct dns_rr_srv *gcs_list; int num_gcs; - char *realm = ads->server.realm; + const char *realm = ads->server.realm; NTSTATUS nt_status = NT_STATUS_UNSUCCESSFUL; ADS_STATUS ads_status = ADS_ERROR_NT(NT_STATUS_UNSUCCESSFUL); int i; diff --git a/source3/smbd/server.c b/source3/smbd/server.c index fc6ab3a277..5aa3ddbdc9 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -597,7 +597,7 @@ static bool open_sockets_smbd(struct smbd_parent_context *parent, { int num_interfaces = iface_count(); int i; - char *ports; + const char *ports; unsigned dns_port = 0; #ifdef HAVE_ATEXIT -- cgit