]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-monitor/sent.c
#include <ac/string.h>, to get strlen(), strncmp() and strncasecmp().
[openldap] / servers / slapd / back-monitor / sent.c
index f8719c3b168b1bf1cdf4c5aee3958fdceedea728..3637f4fd39e7d5e7ca922f5c412dbdbfdb5e7123 100644 (file)
@@ -34,6 +34,7 @@
 #include "portable.h"
 
 #include <stdio.h>
+#include <ac/string.h>
 
 #include "slap.h"
 #include "back-monitor.h"
@@ -47,7 +48,7 @@ monitor_subsys_sent_init(
        
        Entry                   *e, *e_tmp, *e_sent;
        struct monitorentrypriv *mp;
-       char                    buf[1024];
+       char                    buf[ BACKMONITOR_BUFSIZE ];
        struct berval           bv;
 
        assert( be != NULL );