diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-25 18:50:22 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-25 18:50:22 +0100 |
commit | 159920c385e1281c94d216c7e5ca029cfacd23e9 (patch) | |
tree | 06979d380d4270844f12fdf1e381a20338c94cc7 /FICS | |
parent | ea6200c89e29abbff48f846b67617dd009d9d4a7 (diff) |
Reformatted mail_string_to_user()
Diffstat (limited to 'FICS')
-rw-r--r-- | FICS/utils.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/FICS/utils.c b/FICS/utils.c index 5718f84..4fb2a58 100644 --- a/FICS/utils.c +++ b/FICS/utils.c @@ -143,16 +143,17 @@ PUBLIC int mail_string_to_address(char *addr, char *subj, char *str) return 0; } -PUBLIC int mail_string_to_user(int p, char *subj, char *str) +PUBLIC int +mail_string_to_user(int p, char *subj, char *str) { - - if (parray[p].emailAddress && - parray[p].emailAddress[0] && - safestring(parray[p].emailAddress)) { - return mail_string_to_address(parray[p].emailAddress, subj, str); - } else { - return -1; - } + if (parray[p].emailAddress && + parray[p].emailAddress[0] && + safestring(parray[p].emailAddress)) { + return mail_string_to_address(parray[p].emailAddress, subj, + str); + } else { + return -1; + } } PUBLIC int |