Ignore:
Timestamp:
Oct 31, 2008, 8:22:45 PM (16 years ago)
Author:
katerina
Message:

More fixes for log monitoring, and documentation update.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_log_parse_syslog.c

    r183 r186  
    138138                  ++ptr;
    139139                  record->pid = (pid_t) atoi(ptr);
    140                   record->prefix = sh_string_new_from_lchar(array[1], lengths[1]);
     140
    141141                  if (hidepid == 0 || !*ptr) {
    142142                    --ptr;
     
    158158                  }
    159159                  record->pid = PID_INVALID;
    160                   record->prefix = sh_string_new_from_lchar(array[1], lengths[1]);
    161160                  if (flag == 1) {
    162161                    ptr[lengths[1]] = ':';
Note: See TracChangeset for help on using the changeset viewer.