mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
14 lines
381 B
Diff
14 lines
381 B
Diff
--- examples/pdb/pdb_test.c 26 Sep 2002 18:37:54 -0000 1.1.2.3
|
|
+++ examples/pdb/pdb_test.c 22 Apr 2003 20:06:31 -0000
|
|
@@ -142,8 +142,6 @@
|
|
int init_module(void);
|
|
|
|
int init_module() {
|
|
- if(smb_register_passdb("testsam", testsam_init, PASSDB_INTERFACE_VERSION))
|
|
- return 0;
|
|
-
|
|
- return 1;
|
|
+ smb_register_passdb(PASSDB_INTERFACE_VERSION, "testsam", testsam_init);
|
|
+ return True;
|
|
}
|