diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-10 13:33:03 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-10 13:33:03 +0100 |
commit | 7e44b069ee1c7efddc7231abc56b2a7a408ea390 (patch) | |
tree | 7ac687f7ae970e2499939a8fdce1aaa487ad63b4 /FICS/utils.c | |
parent | b72c48f1da2c2e07bf89526e62099b3d34243d2c (diff) |
Deleted check_emailaddr()
Diffstat (limited to 'FICS/utils.c')
-rw-r--r-- | FICS/utils.c | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/FICS/utils.c b/FICS/utils.c index 3233c11..cd3daec 100644 --- a/FICS/utils.c +++ b/FICS/utils.c @@ -21,6 +21,7 @@ name email yy/mm/dd Change Richard Nash 93/10/22 Created Markus Uhlin 23/12/10 Fixed compiler warnings (plus more) + Markus Uhlin 23/12/10 Deleted check_emailaddr() */ #include "stdinclude.h" @@ -104,29 +105,6 @@ PUBLIC char *nextword(char *str) return eatwhite(eatword(str)); } -/* check_the_email_address function: */ -/* -PUBLIC int check_emailaddr(char *email) -{ - int qbuflen; - char qabuf[5120]; - - if ((email = strchr(email, '@')) == NULL) - return 2; - email++; - - res_init(); - _res.options = (RES_INIT | RES_RECURSE); - if ((qbuflen = res_mkquery(QUERY, email, C_IN, T_ANY, NULL, 0, NULL, qabuf, sizeof(qabuf))) == -1) - return 1; - - if (res_send(qabuf, qbuflen, qabuf, sizeof(qabuf)) == -1) - return 1; - - return (_getshort(qabuf + 6) ? 0 : 2); -} -*/ - PUBLIC int mail_string_to_address(char *addr, char *subj, char *str) { char com[1000]; |