mirror of
https://github.com/mabam/afpfs-ng-mac.git
synced 2024-12-28 06:30:24 +00:00
fix UAM parsing
afpcmd 'afp://username;AUTH=UAMName:password@server/volume' now works as expected.
This commit is contained in:
parent
ec7b7475ab
commit
2017974c85
@ -33,12 +33,7 @@ static int check_port(char * port)
|
||||
|
||||
static int check_uamname(const char * uam)
|
||||
{
|
||||
char * p;
|
||||
for (p=(char *)uam;*p;p++) {
|
||||
if (*p==' ') continue;
|
||||
if ((*p<'A') || (*p>'z')) return -1;
|
||||
}
|
||||
return 0;
|
||||
return !uam_string_to_bitmap(uam);
|
||||
}
|
||||
|
||||
static int check_username(const char * user)
|
||||
|
Loading…
Reference in New Issue
Block a user