rename ruserpass to ruserpassword to not collide with uclibc, prompted by [HEIMDAL-534]
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25331 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -117,7 +117,7 @@ void reset (int, char **);
|
||||
void restart (int, char **);
|
||||
void rmthelp (int, char **);
|
||||
void rmtstatus (int, char **);
|
||||
int ruserpass (char *, char **, char **, char **);
|
||||
int ruserpassword (char *, char **, char **, char **);
|
||||
void sendrequest (char *, char *, char *, char *, int);
|
||||
void setascii (int, char **);
|
||||
void setbell (int, char **);
|
||||
|
@@ -184,7 +184,7 @@ login (char *host)
|
||||
printf("Authentication successful.\n\n");
|
||||
}
|
||||
|
||||
if (ruserpass (host, &ruserstr, &rpass, &racctstr) < 0) {
|
||||
if (ruserpassword (host, &ruserstr, &rpass, &racctstr) < 0) {
|
||||
code = -1;
|
||||
return (0);
|
||||
}
|
||||
|
@@ -74,6 +74,6 @@ char macbuf[4096];
|
||||
|
||||
char username[32];
|
||||
|
||||
/* these are set in ruserpass */
|
||||
/* these are set in ruserpassword */
|
||||
char myhostname[MaxHostNameLen];
|
||||
char *mydomain;
|
||||
|
@@ -105,7 +105,7 @@ guess_domain (char *hostname_str, size_t sz)
|
||||
}
|
||||
|
||||
int
|
||||
ruserpass(char *host, char **aname, char **apass, char **aacct)
|
||||
ruserpassword(char *host, char **aname, char **apass, char **aacct)
|
||||
{
|
||||
char *hdir, buf[BUFSIZ], *tmp;
|
||||
int t, i, c, usedefault = 0;
|
||||
|
Reference in New Issue
Block a user