Last active
January 23, 2020 18:24
-
-
Save SkyBulk/e027aabf24afd989243b453f7fda8f75 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
char *mail_auth (char *mechanism,authresponse_t resp,int argc,char *argv[]){ | |
char tmp[MAILTMPLEN]; | |
AUTHENTICATOR *auth; | |
/* make upper case copy of mechanism name */ | |
ucase (strcpy (tmp,mechanism)); | |
for (auth = mailauthenticators; auth; auth = auth->next) | |
if (auth->server && !strcmp (auth->name,tmp)) | |
return (*auth->server) (resp,argc,argv); | |
return NIL; /* no authenticator found */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment