summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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++) {