summaryrefslogtreecommitdiffstats
path: root/source/auth/auth_server.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-04-28 17:48:48 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-04-28 17:48:48 +0000
commitbc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d (patch)
treedb57cdb240c54b4b980720385535abf4f087c5a8 /source/auth/auth_server.c
parente112dc1641c47c7185e098918980df1a4d950bd7 (diff)
downloadsamba-bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d.tar.gz
samba-bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d.tar.xz
samba-bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d.zip
Use NTSTATUS as return value for smb_register_*() functions and init_module()
function. Patch by metze with some minor modifications.
Diffstat (limited to 'source/auth/auth_server.c')
-rw-r--r--source/auth/auth_server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/auth/auth_server.c b/source/auth/auth_server.c
index a311f01dc3f..73af290af2a 100644
--- a/source/auth/auth_server.c
+++ b/source/auth/auth_server.c
@@ -401,7 +401,7 @@ NTSTATUS auth_init_smbserver(struct auth_context *auth_context, const char* para
return NT_STATUS_OK;
}
-int auth_server_init(void)
+NTSTATUS auth_server_init(void)
{
- return smb_register_auth("smbserver", auth_init_smbserver, AUTH_INTERFACE_VERSION);
+ return smb_register_auth(AUTH_INTERFACE_VERSION, "smbserver", auth_init_smbserver);
}