From e66b6188bb274c5f6f5592e4f2be4ea79e30eedb Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 12 Oct 2005 17:34:06 +0000 Subject: [PATCH] ITS#4078 fix buffer alignment --- servers/slapd/slapadd.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/servers/slapd/slapadd.c b/servers/slapd/slapadd.c index 23d3c0b2af..b36208fdbe 100644 --- a/servers/slapd/slapadd.c +++ b/servers/slapd/slapadd.c @@ -44,28 +44,28 @@ static char maxcsnbuf[ LDAP_LUTIL_CSNSTR_BUFSIZE ]; int slapadd( int argc, char **argv ) { - char *buf = NULL; - int lineno; - int lmax; - int rc = EXIT_SUCCESS; - + char *buf = NULL; const char *text; char textbuf[SLAP_TEXT_BUFLEN] = { '\0' }; size_t textlen = sizeof textbuf; const char *progname = "slapadd"; - int manage = 0; struct berval csn; struct berval maxcsn; - int match; + struct berval bvtext; Attribute *attr; Entry *ctxcsn_e; ID ctxcsn_id, id; + Operation *op; + char opbuf[OPERATION_BUFFER_SIZE]; + + int match; int ret; - struct berval bvtext; int checkvals; - char opbuf[OPERATION_BUFFER_SIZE]; - Operation *op; + int lineno; + int lmax; + int rc = EXIT_SUCCESS; + int manage = 0; slap_tool_init( progname, SLAPADD, argc, argv ); -- 2.39.5