search for: szservice

Displaying 3 results from an estimated 3 matches for "szservice".

2000 Jan 27
0
service_ok, redux.
...a dir (other tests follow). */ > if (iSERVICE(iService).szPath[0] != '\0') > { > if (stat(iSERVICE(iService).szPath,&buf) == -1) > DEBUG(0,("ERROR: can't stat path %s in service %s.\n", > iSERVICE(iService).szPath, iSERVICE(iService).szService)); > else if (buf.st_mode != S_IFDIR && buf.st_mode != S_IFLNK) > DEBUG(0,("ERROR: Path %s in service %s isn't a directory.\n", > iSERVICE(iService).szPath, iSERVICE(iService).szService)); > } > > /* Contradictions in terms: */ 1789c18...
2000 Jan 27
1
Proposed improvements to service_ok()
...a dir (other tests follow). */ > if (iSERVICE(iService).szPath[0] != '\0') > { > if (stat(iSERVICE(iService).szPath,&buf) == -1) > DEBUG(0,("ERROR: can't stat path %s in service %s.\n", > iSERVICE(iService).szPath, iSERVICE(iService).szService)); > else if (buf.st_mode != S_IFDIR && buf.st_mode != S_IFLNK) > DEBUG(0,("ERROR: Path %s in service %s isn't a directory.\n", > iSERVICE(iService).szPath, iSERVICE(iService).szService)); > } > > /* Contradictions in terms: */ 1789c18...
2003 Dec 01
0
No subject
...t */ if (name) { - i = getservicebyname(name,NULL); + i = getservicebyname(name2,NULL); if (i >= 0) return(i); } @@ -1538,7 +1547,7 @@ init_service(pSERVICE(i)); copy_service(pSERVICE(i),&tservice,NULL); if (name) { - string_set(&iSERVICE(i).szService,name); + string_set(&iSERVICE(i).szService,name2); unix_to_dos(iSERVICE(i).szService, True); } return(i); ---- Cut Here ---- We have not examined under Samba 2.2.0 yet. ---- Cut Here ---- For 2.2.0 ---- --- param/loadparm.c.org Tue Jun 12 01:38:17 2001 +++ param/loadparm.c T...