Changeset 534


Ignore:
Timestamp:
Jan 27, 2011, 1:15:33 PM (14 years ago)
Author:
Silvan Scherrer
Message:

Samba Client 2.0: backed out 527 in smbwrp.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified branches/client-2.0/src/smbwrp.c

    r527 r534  
    932932        if (cli->capabilities & CAP_NT_SMBS && !(cli->capabilities & CAP_NOPATHINFO2))
    933933        {
    934                 int ret = cli_errno(cli);
     934                int rc = os2cli_errno(cli);
    935935                // cli_qpathinfo* reports EINVAL when path of given file not exists
    936936                // thus there is no real situation when EINVAL should be returned to
    937937                // client at this point, we just replace it to ENOTDIR
    938                 if (ret == EINVAL)
    939                 {
    940                         ret = ENOTDIR;
    941                 }
    942                 return maperror(ret);
     938                if (rc == EINVAL)
     939                {
     940                        rc = maperror(ENOTDIR);
     941                }
     942                return rc;
    943943        }
    944944
Note: See TracChangeset for help on using the changeset viewer.