[Fedora-directory-commits] ldapserver/ldap/servers/plugins/schema_reload schema_reload.c, 1.2, 1.3

Noriko Hosoi (nhosoi) fedora-directory-commits at redhat.com
Wed Jul 16 18:07:42 UTC 2008


Author: nhosoi

Update of /cvs/dirsec/ldapserver/ldap/servers/plugins/schema_reload
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4275

Modified Files:
	schema_reload.c 
Log Message:
Resolves: #436837
Summary: Dynamically reload schema via task interface
Description: cleaned up compile warnings.



Index: schema_reload.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/plugins/schema_reload/schema_reload.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- schema_reload.c	27 Jun 2008 19:28:22 -0000	1.2
+++ schema_reload.c	16 Jul 2008 18:07:40 -0000	1.3
@@ -71,6 +71,7 @@
  * [ schemadir: path to reload files from ]
  */
 
+#include "slap.h"
 #include "slapi-plugin.h"
 #include "nspr.h"
 #include "dirver.h"             /* PRODUCTTEXT */
@@ -133,7 +134,7 @@
 schemareload_thread(void *arg)
 {
     Slapi_Task *task = (Slapi_Task *)arg;
-    int i, rv = 0;
+    int rv = 0;
     int total_work = 2;
     /* fetch our argument from the task */
     char *schemadir = (char *)slapi_task_get_data(task);
@@ -216,7 +217,6 @@
     const char *cn;
     const char *schemadir = NULL;
     int rv = SLAPI_DSE_CALLBACK_OK;
-    Slapi_PBlock *mypb = NULL;
     Slapi_Task *task = NULL;
 
     *returncode = LDAP_SUCCESS;




More information about the Fedora-directory-commits mailing list