Author: metze
Date: 2004-12-31 07:40:14 +0000 (Fri, 31 Dec 2004)
New Revision: 4439

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4439

Log:
unlimited connections is -1

metze

Modified:
   branches/SAMBA_4_0/source/param/loadparm.c


Changeset:
Modified: branches/SAMBA_4_0/source/param/loadparm.c
===================================================================
--- branches/SAMBA_4_0/source/param/loadparm.c  2004-12-31 07:35:14 UTC (rev 
4438)
+++ branches/SAMBA_4_0/source/param/loadparm.c  2004-12-31 07:40:14 UTC (rev 
4439)
@@ -1669,7 +1669,7 @@
        string_set(&ServicePtrs[i]->szUsername, "");
        string_set(&ServicePtrs[i]->comment, comment);
        string_set(&ServicePtrs[i]->fstype, fstype);
-       ServicePtrs[i]->iMaxConnections = 0;
+       ServicePtrs[i]->iMaxConnections = -1;
        ServicePtrs[i]->bAvailable = True;
        ServicePtrs[i]->bRead_only = True;
        ServicePtrs[i]->bGuest_only = False;

Reply via email to