ITS#4078 fix buffer alignment

This commit is contained in:
Howard Chu 2005-10-12 17:34:06 +00:00
parent 2890a5d035
commit e66b6188bb

View File

@ -45,27 +45,27 @@ int
slapadd( int argc, char **argv )
{
char *buf = NULL;
int lineno;
int lmax;
int rc = EXIT_SUCCESS;
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;
int ret;
struct berval bvtext;
int checkvals;
char opbuf[OPERATION_BUFFER_SIZE];
Operation *op;
char opbuf[OPERATION_BUFFER_SIZE];
int match;
int ret;
int checkvals;
int lineno;
int lmax;
int rc = EXIT_SUCCESS;
int manage = 0;
slap_tool_init( progname, SLAPADD, argc, argv );