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;
Show replies by date