Changeset 740 for vendor/current/source3/libsmb/libsmb_misc.c
- Timestamp:
- Nov 14, 2012, 12:59:34 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified vendor/current/source3/libsmb/libsmb_misc.c ¶
r414 r740 8 8 Copyright (C) Derrell Lipman 2003-2008 9 9 Copyright (C) Jeremy Allison 2007, 2008 10 10 11 11 This program is free software; you can redistribute it and/or modify 12 12 it under the terms of the GNU General Public License as published by 13 13 the Free Software Foundation; either version 3 of the License, or 14 14 (at your option) any later version. 15 15 16 16 This program is distributed in the hope that it will be useful, 17 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 19 GNU General Public License for more details. 20 20 21 21 You should have received a copy of the GNU General Public License 22 22 along with this program. If not, see <http://www.gnu.org/licenses/>. … … 24 24 25 25 #include "includes.h" 26 #include "libsmb/libsmb.h" 26 27 #include "libsmbclient.h" 27 28 #include "libsmb_internal.h" … … 51 52 { 52 53 int ret = cli_errno(c); 53 54 54 55 if (cli_is_dos_error(c)) { 55 56 uint8 eclass; 56 57 uint32 ecode; 57 58 58 59 cli_dos_error(c, &eclass, &ecode); 59 60 60 61 DEBUG(3,("smbc_error %d %d (0x%x) -> %d\n", 61 62 (int)eclass, (int)ecode, (int)ecode, ret)); 62 63 } else { 63 64 NTSTATUS status; 64 65 65 66 status = cli_nt_error(c); 66 67 67 68 DEBUG(3,("smbc errno %s -> %d\n", 68 69 nt_errstr(status), ret)); 69 70 } 70 71 71 72 return ret; 72 73 }
Note:
See TracChangeset
for help on using the changeset viewer.