Mercurial > hg > mlmmj
comparison src/mlmmj-send.c @ 748:dfc9ab125fd4
Fix spelling of 'receive' and 'voodoo'; make mlmmj-recieve a symlink
author | Chris Webb |
---|---|
date | Sun, 03 Oct 2010 21:40:42 +1100 |
parents | 4575d3181ca1 |
children | f8f3f4525a2b |
comparison
equal
deleted
inserted
replaced
747:fd77dd58bde1 | 748:dfc9ab125fd4 |
---|---|
444 checkwait_smtpreply(sockfd, MLMMJ_RSET); | 444 checkwait_smtpreply(sockfd, MLMMJ_RSET); |
445 return MLMMJ_FROM; | 445 return MLMMJ_FROM; |
446 } | 446 } |
447 for(i = 0; i < addrs->count; i++) { | 447 for(i = 0; i < addrs->count; i++) { |
448 if(gotsigterm) { | 448 if(gotsigterm) { |
449 log_error(LOG_ARGS, "TERM signal recieved, " | 449 log_error(LOG_ARGS, "TERM signal received, " |
450 "shutting down."); | 450 "shutting down."); |
451 return -1; | 451 return -1; |
452 } | 452 } |
453 if(strchr(addrs->strs[i], '@') == NULL) { | 453 if(strchr(addrs->strs[i], '@') == NULL) { |
454 errno = 0; | 454 errno = 0; |
638 addr); | 638 addr); |
639 continue; | 639 continue; |
640 } | 640 } |
641 if(gotsigterm && listaddr && archivefilename) { | 641 if(gotsigterm && listaddr && archivefilename) { |
642 /* we got SIGTERM, so save the addresses and bail */ | 642 /* we got SIGTERM, so save the addresses and bail */ |
643 log_error(LOG_ARGS, "TERM signal recieved, " | 643 log_error(LOG_ARGS, "TERM signal received, " |
644 "shutting down."); | 644 "shutting down."); |
645 index = get_index_from_filename(archivefilename); | 645 index = get_index_from_filename(archivefilename); |
646 status = requeuemail(listdir, index, addrs, i); | 646 status = requeuemail(listdir, index, addrs, i); |
647 myfree(index); | 647 myfree(index); |
648 return status; | 648 return status; |