From: Baptiste Daroussin Date: Wed, 12 Nov 2025 16:46:19 +0000 (+0100) Subject: mlmmj-process: small style changes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b326cbc441fa1025bdad40799bfc5025142ebcff;p=thirdparty%2Fmlmmj.git mlmmj-process: small style changes --- diff --git a/src/mlmmj-process.c b/src/mlmmj-process.c index 0f41fcb2..431f27b1 100644 --- a/src/mlmmj-process.c +++ b/src/mlmmj-process.c @@ -1,6 +1,6 @@ /* * Copyright (C) 2003, 2003, 2004 Mads Martin Joergensen - * Copyright (C) 2023 Baptiste Daroussin + * Copyright (C) 2023-2025 Baptiste Daroussin * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to @@ -147,8 +147,10 @@ static void newmoderated(struct ml *ml, const char *mailfilename, modemailsender = statctrl(ml->ctrlfd, "modemailsender"); - if(modemailsender) to = xstrdup(posteraddr); - else xasprintf(&to, "%s-moderators@%s", ml->name, ml->fqdn); + if (modemailsender) + to = xstrdup(posteraddr); + else + xasprintf(&to, "%s-moderators@%s", ml->name, ml->fqdn); txt = open_text(ml->fd, "moderate", "post", modreason_strs[modreason], NULL, "moderation"); @@ -208,7 +210,7 @@ static void newmoderated(struct ml *ml, const char *mailfilename, exit(EXIT_SUCCESS); } - if(modemailsender) { + if (modemailsender) { memset(&mail, 0, sizeof(mail)); mail.from = from; mail.to = to;