Ignore:
Timestamp:
Nov 14, 2012, 12:59:34 PM (12 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to 3.6.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified vendor/current/source3/libsmb/libsmb_misc.c

    r414 r740  
    88   Copyright (C) Derrell Lipman 2003-2008
    99   Copyright (C) Jeremy Allison 2007, 2008
    10    
     10
    1111   This program is free software; you can redistribute it and/or modify
    1212   it under the terms of the GNU General Public License as published by
    1313   the Free Software Foundation; either version 3 of the License, or
    1414   (at your option) any later version.
    15    
     15
    1616   This program is distributed in the hope that it will be useful,
    1717   but WITHOUT ANY WARRANTY; without even the implied warranty of
    1818   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1919   GNU General Public License for more details.
    20    
     20
    2121   You should have received a copy of the GNU General Public License
    2222   along with this program.  If not, see <http://www.gnu.org/licenses/>.
     
    2424
    2525#include "includes.h"
     26#include "libsmb/libsmb.h"
    2627#include "libsmbclient.h"
    2728#include "libsmb_internal.h"
     
    5152{
    5253        int ret = cli_errno(c);
    53        
     54
    5455        if (cli_is_dos_error(c)) {
    5556                uint8 eclass;
    5657                uint32 ecode;
    57                
     58
    5859                cli_dos_error(c, &eclass, &ecode);
    59                
     60
    6061                DEBUG(3,("smbc_error %d %d (0x%x) -> %d\n",
    6162                         (int)eclass, (int)ecode, (int)ecode, ret));
    6263        } else {
    6364                NTSTATUS status;
    64                
     65
    6566                status = cli_nt_error(c);
    66                
     67
    6768                DEBUG(3,("smbc errno %s -> %d\n",
    6869                         nt_errstr(status), ret));
    6970        }
    70        
     71
    7172        return ret;
    7273}
Note: See TracChangeset for help on using the changeset viewer.