summaryrefslogtreecommitdiffstats
path: root/packaging/SuSE/samba3-3.0.0-pdb.diff
blob: 0c811b57c52aa3f714fad5496fb85fcf4dc57522 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- 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;
 }