diff --git a/subscribe.c b/subscribe.c index b6758a4..5d4a837 100644 --- a/subscribe.c +++ b/subscribe.c @@ -312,7 +312,7 @@ AddAddress(struct Mail * MailStruct, /* Send success notification to the originator and the new subscriber */ - if (!strcasecmp(address, originator) == TRUE) + if (!strcasecmp(address, originator)) fh = vOpenMailer(envelope, address, NULL); else fh = vOpenMailer(envelope, address, originator, NULL); @@ -329,7 +329,7 @@ AddAddress(struct Mail * MailStruct, fprintf(fh, "Precedence: junk\n"); fprintf(fh, "Sender: %s\n", envelope); fprintf(fh, "\n"); - if (!strcasecmp(address, originator) == TRUE) + if (!strcasecmp(address, originator)) { buffer = text_easy_sprintf( "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, "Sender: %s\n", envelope); fprintf(fh, "\n"); - if (!strcasecmp(address, originator) == TRUE) { + if (!strcasecmp(address, originator)) { buffer = text_easy_sprintf( "Per request from the subscriber, the address \"%s\"\n" "has been subscribed to the \"%s\" mailing list.\n", diff --git a/unsubscribe.c b/unsubscribe.c index c39eca1..5305d35 100644 --- a/unsubscribe.c +++ b/unsubscribe.c @@ -317,7 +317,7 @@ DeleteAddress(struct Mail * MailStruct, /* Send success notification to the originator and the unsubscribed address */ - if (!strcasecmp(address, originator) == TRUE) + if (!strcasecmp(address, originator)) fh = vOpenMailer(envelope, address, NULL); else fh = vOpenMailer(envelope, address, originator, NULL); @@ -334,7 +334,7 @@ DeleteAddress(struct Mail * MailStruct, fprintf(fh, "Precedence: junk\n"); fprintf(fh, "Sender: %s\n", envelope); fprintf(fh, "\n"); - if (!strcasecmp(address, originator) == TRUE) + if (!strcasecmp(address, originator)) { buffer = text_easy_sprintf( "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, "Sender: %s\n", envelope); fprintf(fh, "\n"); - if (!strcasecmp(address, originator) == TRUE) { + if (!strcasecmp(address, originator)) { buffer = text_easy_sprintf( "Per request from the subscriber, the address \"%s\"\n" "has been unsubscribed from the \"%s\" mailing list.\n",