Changeset 186 for trunk/src/sh_log_parse_syslog.c
- Timestamp:
- Oct 31, 2008, 8:22:45 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_log_parse_syslog.c
r183 r186 138 138 ++ptr; 139 139 record->pid = (pid_t) atoi(ptr); 140 record->prefix = sh_string_new_from_lchar(array[1], lengths[1]); 140 141 141 if (hidepid == 0 || !*ptr) { 142 142 --ptr; … … 158 158 } 159 159 record->pid = PID_INVALID; 160 record->prefix = sh_string_new_from_lchar(array[1], lengths[1]);161 160 if (flag == 1) { 162 161 ptr[lengths[1]] = ':';
Note:
See TracChangeset
for help on using the changeset viewer.