mirror of https://github.com/macssh/macssh.git
bug fix in user settings
This commit is contained in:
parent
4d0d1cf896
commit
3686335e4c
|
@ -1099,7 +1099,7 @@ Boolean Scompass(char *ps, char *en)
|
|||
/* Scheckpass - Check the password file for the user, password combination */
|
||||
Boolean Scheckpass(char *us, char *ps)
|
||||
{
|
||||
FTPUser **FTPUhdl;
|
||||
FTPUserPrefs **FTPUhdl;
|
||||
Str255 scratchPstring;
|
||||
CInfoPBRec theInfo;
|
||||
|
||||
|
@ -1107,7 +1107,7 @@ Boolean Scheckpass(char *us, char *ps)
|
|||
CtoPstr((char *)scratchPstring);
|
||||
|
||||
UseResFile(TelInfo->SettingsFile);
|
||||
FTPUhdl = (FTPUser **)Get1NamedResource(FTPUSER, scratchPstring);
|
||||
FTPUhdl = (FTPUserPrefs **)Get1NamedResource(FTPUSERPREFS_RESTYPE, scratchPstring);
|
||||
if (ResError()) return(FALSE); // User not found
|
||||
|
||||
HLock((Handle)FTPUhdl);
|
||||
|
|
Loading…
Reference in New Issue