summaryrefslogtreecommitdiff
path: root/source3/libsmb/libsmb_misc.c
diff options
context:
space:
mode:
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>2008-03-01 20:44:21 -0500
committerKarolin Seeger <ks@sernet.de>2008-03-04 08:58:38 +0100
commit9a96722833d705d8ed462008adbf07b5ff3566fd (patch)
treeb5bc8ad677f7b726a116bba82589cb0a14089049 /source3/libsmb/libsmb_misc.c
parent48894994d0f86ca095a1bd617d048e7089a20e7b (diff)
downloadsamba-9a96722833d705d8ed462008adbf07b5ff3566fd.tar.gz
samba-9a96722833d705d8ed462008adbf07b5ff3566fd.tar.bz2
samba-9a96722833d705d8ed462008adbf07b5ff3566fd.zip
Additional revamped libsmbclient documentation
- Ensured that all public functions have documentation in libsmbclient.h - Reformatted for "proper" indentation - Re-added temporarily-disabled alternate authentication function capability Derrell (cherry picked from commit 64b7150d92849a1e1e2416b9dcc12fae8d6bea99) (This used to be commit dca8a612e94095e38df50f0fe567c75ceb8124fe)
Diffstat (limited to 'source3/libsmb/libsmb_misc.c')
-rw-r--r--source3/libsmb/libsmb_misc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/libsmb/libsmb_misc.c b/source3/libsmb/libsmb_misc.c
index f2fd919ef6..dd7add5a61 100644
--- a/source3/libsmb/libsmb_misc.c
+++ b/source3/libsmb/libsmb_misc.c
@@ -50,24 +50,24 @@ SMBC_errno(SMBCCTX *context,
struct cli_state *c)
{
int ret = cli_errno(c);
-
+
if (cli_is_dos_error(c)) {
uint8 eclass;
uint32 ecode;
-
+
cli_dos_error(c, &eclass, &ecode);
DEBUG(3,("smbc_error %d %d (0x%x) -> %d\n",
(int)eclass, (int)ecode, (int)ecode, ret));
} else {
NTSTATUS status;
-
+
status = cli_nt_error(c);
-
+
DEBUG(3,("smbc errno %s -> %d\n",
nt_errstr(status), ret));
}
-
+
return ret;
}