Ignore:
Timestamp:
Jan 27, 2010, 10:52:20 PM (15 years ago)
Author:
katerina
Message:

Fixes tickets #190, #191, #192, #193, and #194.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_log_correlate.c

    r265 r272  
    282282              if (val >= 0)
    283283                {
     284                  sh_string * alias;
    284285                  SH_MUTEX_LOCK(mutex_thread_nolog);
    285286                  sh_error_handle (mkeep->queue->severity, FIL__, __LINE__, 0,
    286287                                   MSG_LOGMON_COR, sh_string_str(mkeep->label),
    287288                                   val);
     289
     290                  alias = mkeep->queue->alias;
     291                  if (alias)
     292                    {
     293                      sh_error_mail (sh_string_str(alias),
     294                                     mkeep->queue->severity, FIL__, __LINE__, 0,
     295                                     MSG_LOGMON_COR, sh_string_str(mkeep->label),
     296                                     val);
     297                    }
     298                 
    288299                  SH_MUTEX_UNLOCK(mutex_thread_nolog);
    289300                }
Note: See TracChangeset for help on using the changeset viewer.