Skip to content

Commit

Permalink
Missing logic, now fixed. Found when backporting (and verifying) this…
Browse files Browse the repository at this point in the history
… fix

to the 1.3.5 branch.
  • Loading branch information
Castaglia committed Jan 15, 2017
1 parent a79e9ba commit 32c22af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/auth.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* ProFTPD - FTP server daemon
* Copyright (c) 1997, 1998 Public Flood Software
* Copyright (c) 1999, 2000 MacGyver aka Habeeb J. Dihu <macgyver@tos.net>
* Copyright (c) 2001-2016 The ProFTPD Project team
* Copyright (c) 2001-2017 The ProFTPD Project team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -1528,6 +1528,7 @@ config_rec *pr_auth_get_anon_config(pool *p, const char **login_user,
alias = c->argv[0];
if (strncmp(alias, "*", 2) == 0 ||
strcmp(alias, *login_user) == 0) {
is_alias = TRUE;
alias_config = c;
break;
}
Expand Down

0 comments on commit 32c22af

Please sign in to comment.