Fix ambiguous boolean expressions.
This commit is contained in:
parent
c104e4a16f
commit
65f18534bc
@ -312,7 +312,7 @@ AddAddress(struct Mail * MailStruct,
|
|||||||
|
|
||||||
/* Send success notification to the originator and the new subscriber */
|
/* Send success notification to the originator and the new subscriber */
|
||||||
|
|
||||||
if (!strcasecmp(address, originator) == TRUE)
|
if (!strcasecmp(address, originator))
|
||||||
fh = vOpenMailer(envelope, address, NULL);
|
fh = vOpenMailer(envelope, address, NULL);
|
||||||
else
|
else
|
||||||
fh = vOpenMailer(envelope, address, originator, NULL);
|
fh = vOpenMailer(envelope, address, originator, NULL);
|
||||||
@ -329,7 +329,7 @@ AddAddress(struct Mail * MailStruct,
|
|||||||
fprintf(fh, "Precedence: junk\n");
|
fprintf(fh, "Precedence: junk\n");
|
||||||
fprintf(fh, "Sender: %s\n", envelope);
|
fprintf(fh, "Sender: %s\n", envelope);
|
||||||
fprintf(fh, "\n");
|
fprintf(fh, "\n");
|
||||||
if (!strcasecmp(address, originator) == TRUE)
|
if (!strcasecmp(address, originator))
|
||||||
{
|
{
|
||||||
buffer = text_easy_sprintf(
|
buffer = text_easy_sprintf(
|
||||||
"Per your request, the address \"%s\" has been subscribed to the " \
|
"Per your request, the address \"%s\" has been subscribed to the " \
|
||||||
@ -371,7 +371,7 @@ AddAddress(struct Mail * MailStruct,
|
|||||||
fprintf(fh, "Precedence: junk\n");
|
fprintf(fh, "Precedence: junk\n");
|
||||||
fprintf(fh, "Sender: %s\n", envelope);
|
fprintf(fh, "Sender: %s\n", envelope);
|
||||||
fprintf(fh, "\n");
|
fprintf(fh, "\n");
|
||||||
if (!strcasecmp(address, originator) == TRUE) {
|
if (!strcasecmp(address, originator)) {
|
||||||
buffer = text_easy_sprintf(
|
buffer = text_easy_sprintf(
|
||||||
"Per request from the subscriber, the address \"%s\"\n"
|
"Per request from the subscriber, the address \"%s\"\n"
|
||||||
"has been subscribed to the \"%s\" mailing list.\n",
|
"has been subscribed to the \"%s\" mailing list.\n",
|
||||||
|
|||||||
@ -317,7 +317,7 @@ DeleteAddress(struct Mail * MailStruct,
|
|||||||
|
|
||||||
/* Send success notification to the originator and the unsubscribed address */
|
/* Send success notification to the originator and the unsubscribed address */
|
||||||
|
|
||||||
if (!strcasecmp(address, originator) == TRUE)
|
if (!strcasecmp(address, originator))
|
||||||
fh = vOpenMailer(envelope, address, NULL);
|
fh = vOpenMailer(envelope, address, NULL);
|
||||||
else
|
else
|
||||||
fh = vOpenMailer(envelope, address, originator, NULL);
|
fh = vOpenMailer(envelope, address, originator, NULL);
|
||||||
@ -334,7 +334,7 @@ DeleteAddress(struct Mail * MailStruct,
|
|||||||
fprintf(fh, "Precedence: junk\n");
|
fprintf(fh, "Precedence: junk\n");
|
||||||
fprintf(fh, "Sender: %s\n", envelope);
|
fprintf(fh, "Sender: %s\n", envelope);
|
||||||
fprintf(fh, "\n");
|
fprintf(fh, "\n");
|
||||||
if (!strcasecmp(address, originator) == TRUE)
|
if (!strcasecmp(address, originator))
|
||||||
{
|
{
|
||||||
buffer = text_easy_sprintf(
|
buffer = text_easy_sprintf(
|
||||||
"Per your request, the address \"%s\" has been unsubscribed from the " \
|
"Per your request, the address \"%s\" has been unsubscribed from the " \
|
||||||
@ -370,7 +370,7 @@ DeleteAddress(struct Mail * MailStruct,
|
|||||||
fprintf(fh, "Precedence: junk\n");
|
fprintf(fh, "Precedence: junk\n");
|
||||||
fprintf(fh, "Sender: %s\n", envelope);
|
fprintf(fh, "Sender: %s\n", envelope);
|
||||||
fprintf(fh, "\n");
|
fprintf(fh, "\n");
|
||||||
if (!strcasecmp(address, originator) == TRUE) {
|
if (!strcasecmp(address, originator)) {
|
||||||
buffer = text_easy_sprintf(
|
buffer = text_easy_sprintf(
|
||||||
"Per request from the subscriber, the address \"%s\"\n"
|
"Per request from the subscriber, the address \"%s\"\n"
|
||||||
"has been unsubscribed from the \"%s\" mailing list.\n",
|
"has been unsubscribed from the \"%s\" mailing list.\n",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user