search for: pszservicename

Displaying 1 result from an estimated 1 matches for "pszservicename".

2003 Dec 01
0
No subject
...chars is also truncated. ----- Cut Here for Samba 2.0.10 ----- --- param/loadparm.c.org Sat Apr 22 02:43:12 2000 +++ param/loadparm.c Wed Jun 27 03:40:54 2001 @@ -2886,12 +2886,16 @@ ***************************************************************************/ int lp_servicenumber(char *pszServiceName) { - int iService; - - for (iService = iNumServices - 1; iService >= 0; iService--) - if (VALID(iService) && - strequal(lp_servicename(iService), pszServiceName)) - break; + int len, iService; + pstring service; + + len = (get_remote_arch() == RA_WIN...