~mcepl/ldapvi

48f05d0fb33f41e35f101920c6b8cb6446e2dae9 — David Lichteblau 16 years ago de67962
use putenv rather than setenv for old solaris versions
1 files changed, 1 insertions(+), 1 deletions(-)

M ldapvi/arguments.c
M ldapvi/arguments.c => ldapvi/arguments.c +1 -1
@@ 724,7 724,7 @@ parse_arguments(int argc, const char **argv, cmdline *result, GPtrArray *ctrls)
	}

	if (result->profileonlyp)
		if (setenv("LDAPNOINIT", "thanks", 1)) syserr();
		if (putenv("LDAPNOINIT=thanks")) syserr();

	/* don't free! */
/* 	poptFreeContext(ctx); */