Displaying 1 result from an estimated 1 matches for "fgets_slash".
1998 Jun 15
0
Username map issue with 1.9.18p8
...ing last_from,last_to;
FILE *f;
@@ -54,7 +53,7 @@
pstring buf;
char *mapfile = lp_username_map();
- if (!*mapfile || depth)
+ if (!*mapfile)
return False;
if (!*user)
@@ -82,8 +81,6 @@
DEBUG(4,("Scanning username map %s\n",mapfile));
- depth++;
-
while((s=fgets_slash(buf,sizeof(buf),f))!=NULL) {
char *unixname = s;
char *dosname = strchr(unixname,'=');
@@ -132,8 +129,6 @@
*/
fstrcpy(last_from,user);
fstrcpy(last_to,user);
-
- depth--;
return False;
}
-------------------end patch---------------------------
--
--------------...