mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
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:
parent
48acf9c2d7
commit
69a511d5b8
@ -1850,8 +1850,9 @@ long cm_IoctlMakeSubmount(smb_ioctl_t *ioctlp, cm_user_t *userp)
|
|||||||
sprintf(ioctlp->outDatap, "auto%ld", nextAutoSubmount);
|
sprintf(ioctlp->outDatap, "auto%ld", nextAutoSubmount);
|
||||||
|
|
||||||
WritePrivateProfileString("AFS Submounts", ioctlp->outDatap,
|
WritePrivateProfileString("AFS Submounts", ioctlp->outDatap,
|
||||||
&afspath[lstrlen("/afs")],
|
(strlen(&afspath[lstrlen("/afs")])) ?
|
||||||
"afsdsbmt.ini");
|
&afspath[lstrlen("/afs")]:"/",
|
||||||
|
"afsdsbmt.ini");
|
||||||
|
|
||||||
ioctlp->outDatap += strlen(ioctlp->outDatap) +1;
|
ioctlp->outDatap += strlen(ioctlp->outDatap) +1;
|
||||||
lock_ReleaseMutex(&cm_Afsdsbmt_Lock);
|
lock_ReleaseMutex(&cm_Afsdsbmt_Lock);
|
||||||
|
Loading…
Reference in New Issue
Block a user