]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-perl/config.c
Remove lint
[openldap] / servers / slapd / back-perl / config.c
index 886113f227c9cc4698caf98f99795b4c8aff0518..da4d839d3e3bf1cad7e805b0a7561db3d26757ce 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /*
  *      Copyright 1999, John C. Quillan, All rights reserved.
- *      Portions Copyright 2002, myinternet pty ltd. All rights reserved.
+ *      Portions Copyright 2002, myinternet Limited. All rights reserved.
  *
  *      Redistribution and use in source and binary forms are permitted only
  *      as authorized by the OpenLDAP Public License.  A copy of this
  */
 
 #include "portable.h"
-/* init.c - initialize shell backend */
        
 #include <stdio.h>
-/*     #include <ac/types.h>
-       #include <ac/socket.h>
-*/
+
+#include "slap.h"
+#ifdef HAVE_WIN32_ASPERL
+#include "asperl_undefs.h"
+#endif
 
 #include <EXTERN.h>
 #include <perl.h>
 
-#include "slap.h"
 #include "perl_back.h"
 
 
@@ -59,7 +59,9 @@ perl_back_db_config(
                eval_pv( eval_str, 0 );
 
                if (SvTRUE(ERRSV)) {
-                       fprintf(stderr , "Error %s\n", SvPV(ERRSV,  na)) ;
+                       STRLEN n_a;
+
+                       fprintf(stderr , "Error %s\n", SvPV(ERRSV, n_a)) ;
                }
 #else
                snprintf( eval_str, EVAL_BUF_SIZE, "%s.pm", argv[1] );