summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/weird.c (renamed from source3/modules/developer.c)5
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/modules/developer.c b/source3/modules/weird.c
index 7ffc3ff50d..444853f383 100644
--- a/source3/modules/developer.c
+++ b/source3/modules/weird.c
@@ -125,8 +125,7 @@ static size_t weird_push(void *cd, char **inbuf, size_t *inbytesleft,
struct charset_functions weird_functions = {"WEIRD", weird_pull, weird_push};
-int charset_weird_init(void)
+NTSTATUS charset_weird_init(void)
{
- smb_register_charset(&weird_functions);
- return True;
+ return smb_register_charset(&weird_functions);
}