summaryrefslogtreecommitdiff
path: root/pith/send.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2021-10-27 21:07:45 -0600
committerEduardo Chappa <chappa@washington.edu>2021-10-27 21:07:45 -0600
commit248f45578fcf93b56e3b97c52cfd21b5b84f2a38 (patch)
tree411f3e2e25ebe1e33cbff4994477dc7a18dfa38f /pith/send.c
parent4e924cc7aeb4edceb84d43d97f0542539f614cdd (diff)
downloadalpine-248f45578fcf93b56e3b97c52cfd21b5b84f2a38.tar.xz
* Contributions by Thomas Uhle:
. Add support to the LDAP attribute "userCertificate"; . Move voiceMailTelephoneNumber from the TCL side to ldap_translate; . XOAUTH2 state generator changes format specifier from %x to %02x; . Clear compiler warnings and correct spelling in documentation. . Web Alpine will not attempt to continue a postponed message if the postponed-msgs folder is empty.
Diffstat (limited to 'pith/send.c')
-rw-r--r--pith/send.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pith/send.c b/pith/send.c
index e4948ab9..64783374 100644
--- a/pith/send.c
+++ b/pith/send.c
@@ -5605,10 +5605,10 @@ post_handoff(METAENV *header, struct mail_bodystruct *body, char *errbuf,
char *s;
char tmp[200];
- if(s = strstr(header->env->date," (")) /* fix the date format for news */
+ if((s = strstr(header->env->date," (")) != NULL) /* fix the date format for news */
*s = '\0';
- if(err = mta_parse_post(header, body, SENDNEWS, errbuf, errbuflen, bigresult_f, pipecb_f)){
+ if((err = mta_parse_post(header, body, SENDNEWS, errbuf, errbuflen, bigresult_f, pipecb_f))){
strncpy(tmp, err, sizeof(tmp)-1);
tmp[sizeof(tmp)-1] = '\0';
snprintf(err = errbuf, errbuflen, _("News not posted: \"%s\": %s"),