Changeset 885


Ignore:
Timestamp:
May 18, 2015, 1:46:40 PM (10 years ago)
Author:
Silvan Scherrer
Message:

Samba Client: adjust some more pieces for 3.6 compatibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/src/smbwrp.c

    r883 r885  
    230230        fstring group;
    231231        struct sockaddr_storage ss;
    232         NTSTATUS rc;
    233232        struct cli_state * c;
    234233        char* dev_type;
     
    672671        debuglocal(4,"getattr %d %d <%s>\n", cli->capabilities & CAP_NOPATHINFO2, cli->capabilities & CAP_NT_SMBS, finfo->fname);
    673672        if (!(cli->capabilities & CAP_NOPATHINFO2) &&
    674                 cli_qpathinfo2(cli, finfo->fname, &ctime, &atime, &mtime, NULL,
    675                            (off_t *)&finfo->size, (unsigned short *)&finfo->attr, &ino))
     673                NT_STATUS_IS_OK(cli_qpathinfo2(cli, finfo->fname, &ctime, &atime, &mtime, NULL,
     674                           (off_t *)&finfo->size, (unsigned short *)&finfo->attr, &ino)))
    676675        {
    677676                finfo->attr &= 0x7F;
Note: See TracChangeset for help on using the changeset viewer.