remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -59,7 +59,7 @@ krb5_verify_password (POP *p)
|
||||
1);
|
||||
|
||||
krb5_verify_init_creds_opt_init (&verify_options);
|
||||
|
||||
|
||||
ret = krb5_parse_name (p->context, p->user, &client);
|
||||
if (ret) {
|
||||
pop_log(p, POP_PRIORITY, "krb5_parse_name: %s",
|
||||
@@ -108,7 +108,7 @@ krb5_verify_password (POP *p)
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
/*
|
||||
/*
|
||||
* pass: Obtain the user password from a POP client
|
||||
*/
|
||||
|
||||
@@ -126,7 +126,7 @@ login_user(POP *p)
|
||||
}
|
||||
|
||||
pop_log(p, POP_INFO, "login from %s as %s", p->ipaddr, p->user);
|
||||
|
||||
|
||||
/* Build the name of the user's maildrop */
|
||||
snprintf(p->drop_name, sizeof(p->drop_name), "%s/%s", POP_MAILDIR, p->user);
|
||||
if(stat(p->drop_name, &st) < 0 || !S_ISDIR(st.st_mode)){
|
||||
@@ -153,7 +153,7 @@ pop_pass (POP *p)
|
||||
int status;
|
||||
|
||||
/* Make one string of all these parameters */
|
||||
|
||||
|
||||
for (i = 1; i < p->parm_count; ++i)
|
||||
p->pop_parm[i][strlen(p->pop_parm[i])] = ' ';
|
||||
|
||||
@@ -183,7 +183,7 @@ pop_pass (POP *p)
|
||||
#ifdef KRB5
|
||||
if (p->version == 5) {
|
||||
char *name;
|
||||
|
||||
|
||||
if (!krb5_kuserok (p->context, p->principal, p->user)) {
|
||||
pop_log (p, POP_PRIORITY,
|
||||
"krb5 permission denied");
|
||||
|
Reference in New Issue
Block a user