Changeset 534
- Timestamp:
- Jan 27, 2011, 1:15:33 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified branches/client-2.0/src/smbwrp.c ¶
r527 r534 932 932 if (cli->capabilities & CAP_NT_SMBS && !(cli->capabilities & CAP_NOPATHINFO2)) 933 933 { 934 int r et =cli_errno(cli);934 int rc = os2cli_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 et== EINVAL)939 { 940 r et = ENOTDIR;941 } 942 return maperror(ret);938 if (rc == EINVAL) 939 { 940 rc = maperror(ENOTDIR); 941 } 942 return rc; 943 943 } 944 944
Note:
See TracChangeset
for help on using the changeset viewer.