From: Pierangelo Masarati Date: Wed, 12 Jan 2005 14:34:46 +0000 (+0000) Subject: typo X-Git-Tag: OPENLDAP_REL_ENG_2_3_BP~412 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=42dadd5712445e58d9590b836615690659f27a38;p=openldap typo --- 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;