winnt-client-config-submount-fix-20030314

"Atempts to add a new drive, to the root, with a sub mount name, will
sometimes return error #35"
This commit is contained in:
James Peterson 2003-03-14 19:59:44 +00:00 committed by Derrick Brashear
parent 48acf9c2d7
commit 69a511d5b8

View File

@ -1850,7 +1850,8 @@ long cm_IoctlMakeSubmount(smb_ioctl_t *ioctlp, cm_user_t *userp)
sprintf(ioctlp->outDatap, "auto%ld", nextAutoSubmount);
WritePrivateProfileString("AFS Submounts", ioctlp->outDatap,
&afspath[lstrlen("/afs")],
(strlen(&afspath[lstrlen("/afs")])) ?
&afspath[lstrlen("/afs")]:"/",
"afsdsbmt.ini");
ioctlp->outDatap += strlen(ioctlp->outDatap) +1;