diff options
Diffstat (limited to 'source3/libsmb/smberr.c')
-rw-r--r-- | source3/libsmb/smberr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/libsmb/smberr.c b/source3/libsmb/smberr.c index f4a13983f0..8c4c5f36cb 100644 --- a/source3/libsmb/smberr.c +++ b/source3/libsmb/smberr.c @@ -1,17 +1,17 @@ /* Unix SMB/CIFS implementation. Copyright (C) Andrew Tridgell 1998 - + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ @@ -162,7 +162,7 @@ const char *smb_dos_err_name(uint8 e_class, uint16 num) { char *result; int i,j; - + for (i=0;err_classes[i].e_class;i++) if (err_classes[i].code == e_class) { if (err_classes[i].err_msgs) { @@ -176,7 +176,7 @@ const char *smb_dos_err_name(uint8 e_class, uint16 num) SMB_ASSERT(result != NULL); return result; } - + result = talloc_asprintf(talloc_tos(), "Error: Unknown error class " "(%d,%d)", e_class,num); SMB_ASSERT(result != NULL); |