svn commit: samba r1998 - branches/SAMBA_4_0/source/smb_server

metze at samba.org metze at samba.org
Mon Aug 23 08:49:55 GMT 2004


Author: metze
Date: 2004-08-23 08:49:55 +0000 (Mon, 23 Aug 2004)
New Revision: 1998

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=1998&nolog=1

Log:
fix compiler warning

metze

Modified:
   branches/SAMBA_4_0/source/smb_server/smb_server.c


Changeset:
Modified: branches/SAMBA_4_0/source/smb_server/smb_server.c
===================================================================
--- branches/SAMBA_4_0/source/smb_server/smb_server.c	2004-08-23 07:28:15 UTC (rev 1997)
+++ branches/SAMBA_4_0/source/smb_server/smb_server.c	2004-08-23 08:49:55 UTC (rev 1998)
@@ -680,8 +680,7 @@
 		       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++) {



More information about the samba-cvs mailing list