From 42dadd5712445e58d9590b836615690659f27a38 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 12 Jan 2005 14:34:46 +0000 Subject: [PATCH] typo --- servers/slapd/slapcommon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/slapcommon.c b/servers/slapd/slapcommon.c index 12a48a1584..9c9bf65975 100644 --- a/servers/slapd/slapcommon.c +++ b/servers/slapd/slapcommon.c @@ -117,7 +117,7 @@ slap_tool_init( int truncatemode = 0; #ifdef CSRIMALLOC - leakfilename = malloc( strlen( progname ) + STRLEOF( ".leak" ) - 1 ); + leakfilename = malloc( strlen( progname ) + STRLENOF( ".leak" ) + 1 ); sprintf( leakfilename, "%s.leak", progname ); if( ( leakfile = fopen( leakfilename, "w" )) == NULL ) { leakfile = stderr; -- 2.39.5