summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb_server.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-08-23 08:49:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:16 -0500
commit38188de793fb49867b0f595a20298ee4cf8e4983 (patch)
tree5e03bfa1cbf3938d95864a63ca32062c045f44c7 /source4/smb_server/smb_server.c
parente89e5eee387b511b89de55048eb34bba326c024d (diff)
downloadsamba-38188de793fb49867b0f595a20298ee4cf8e4983.tar.gz
samba-38188de793fb49867b0f595a20298ee4cf8e4983.tar.bz2
samba-38188de793fb49867b0f595a20298ee4cf8e4983.zip
r1998: fix compiler warning
metze (This used to be commit bf06f476dbdfbcb38ccbd8606e622097015c2b3d)
Diffstat (limited to 'source4/smb_server/smb_server.c')
-rw-r--r--source4/smb_server/smb_server.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/smb_server/smb_server.c b/source4/smb_server/smb_server.c
index 513011216f..961cd927ec 100644
--- a/source4/smb_server/smb_server.c
+++ b/source4/smb_server/smb_server.c
@@ -680,8 +680,7 @@ static void add_socket(struct server_service *service,
struct socket_context *socket_ctx,
struct in_addr *ifip)
{
- char *ptr, *tok;
- char **ports = lp_smb_ports();
+ const char **ports = lp_smb_ports();
int i;
for (i=0;ports[i];i++) {