~mcepl/ldapvi

256ced029c235687bfafdffd07be7d47bf7af39b — David Lichteblau 14 years ago 649fa07
renamed getline
3 files changed, 3 insertions(+), 3 deletions(-)

M ldapvi/common.h
M ldapvi/ldapvi.c
M ldapvi/misc.c
M ldapvi/common.h => ldapvi/common.h +1 -1
@@ 273,7 273,7 @@ void pipeview_wait(int pid);
char *home_filename(char *name);
void read_ldapvi_history(void);
void write_ldapvi_history(void);
char *getline(char *prompt, char *value);
char *ldapvi_getline(char *prompt, char *value);
char *get_password();
char *append(char *a, char *b);
void *xalloc(size_t size);

M ldapvi/ldapvi.c => ldapvi/ldapvi.c +1 -1
@@ 470,7 470,7 @@ change_mechanism(bind_options *bo)
		bo->authmethod = LDAP_AUTH_SASL;
		puts("Switching to SASL authentication.");
	}
	bo->sasl_mech = getline("SASL mechanism", bo->sasl_mech);
	bo->sasl_mech = ldapvi_getline("SASL mechanism", bo->sasl_mech);
}

static int

M ldapvi/misc.c => ldapvi/misc.c +1 -1
@@ 315,7 315,7 @@ write_ldapvi_history()
}

char *
getline(char *prompt, char *value)
ldapvi_getline(char *prompt, char *value)
{
	tdialog d;
	init_dialog(&d, DIALOG_DEFAULT, prompt, value);