Ignore:
Timestamp:
Mar 12, 2008, 9:08:18 AM (17 years ago)
Author:
Paul Smedley
Message:

Update source to 3.0.28a

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/source/libsmb/clierror.c

    r39 r124  
    470470        SIVAL(cli->inbuf, smb_rcls, NT_STATUS_V(status));
    471471}
     472
     473/* Reset an error. */
     474
     475void cli_reset_error(struct cli_state *cli)
     476{
     477        if (SVAL(cli->inbuf,smb_flg2) & FLAGS2_32_BIT_ERROR_CODES) {
     478                SIVAL(cli->inbuf, smb_rcls, NT_STATUS_V(NT_STATUS_OK));
     479        } else {
     480                SCVAL(cli->inbuf,smb_rcls,0);
     481                SSVAL(cli->inbuf,smb_err,0);
     482        }
     483}
Note: See TracChangeset for help on using the changeset viewer.