From 159920c385e1281c94d216c7e5ca029cfacd23e9 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Mon, 25 Dec 2023 18:50:22 +0100 Subject: Reformatted mail_string_to_user() --- FICS/utils.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'FICS') 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 -- cgit v1.2.3