Changeset 275 for trunk/src/sh_nmail.c


Ignore:
Timestamp:
Mar 10, 2010, 9:24:17 PM (15 years ago)
Author:
katerina
Message:

Fix for ticket #195 (broken immediate mailing of highest priority messages).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_nmail.c

    r273 r275  
    108108
    109109      SH_MUTEX_LOCK_UNSAFE(mutex_listall);
    110       if (0 == check_double(str, all_recipients, S_TRUE))
     110      if (0 != check_double(str, all_recipients, S_TRUE))
    111111        {
    112112          new->isAlias    = 1;
     
    207207              for (i = 0; i < nfields; ++i) {
    208208                if (0 == check_double(array[i],  all_recipients, S_TRUE))
    209                   nflag = 1;
     209                  nflag = 1; /* not in all_recipients --> bad */
    210210              }
    211211
     
    406406               */
    407407              if (flagit && list->isAlias == 0)
    408                 list->send_mail = 1;
     408                {
     409                  list->send_mail = 1;
     410                }
    409411              list = list->all_next;
    410412            }
     
    518520          if (retval != 0)
    519521            {
     522              sh_error_handle (SH_ERR_ALL, FIL__, __LINE__,
     523                               retval, MSG_E_SUBGEN,
     524                               _("could not mail immediately"),
     525                               _("sh_nmail_msg") );
    520526              sh_mail_pushstack(level, message, alias);
    521527            }
Note: See TracChangeset for help on using the changeset viewer.