Changeset 527 for branches/client-2.0/src/smbwrp.c
- Timestamp:
- Jan 24, 2011, 12:01:41 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/client-2.0/src/smbwrp.c
r520 r527 932 932 if (cli->capabilities & CAP_NT_SMBS && !(cli->capabilities & CAP_NOPATHINFO2)) 933 933 { 934 int r c = os2cli_errno(cli);934 int ret = cli_errno(cli); 935 935 // cli_qpathinfo* reports EINVAL when path of given file not exists 936 936 // thus there is no real situation when EINVAL should be returned to 937 937 // client at this point, we just replace it to ENOTDIR 938 if (r c== EINVAL)939 { 940 r c = maperror(ENOTDIR);941 } 942 return rc;938 if (ret == EINVAL) 939 { 940 ret = ENOTDIR; 941 } 942 return maperror(ret); 943 943 } 944 944
Note:
See TracChangeset
for help on using the changeset viewer.