Lines 160-166
Link Here
|
160 |
prio = strchr( logname + 1, ':' ); |
160 |
prio = strchr( logname + 1, ':' ); |
161 |
if ( prio ) { |
161 |
if ( prio ) { |
162 |
prio++; |
162 |
prio++; |
163 |
xstrcpy( fac, logname + 1, 30 ); |
163 |
xstrcpy( fac, logname + 1, prio-logname-1 ); |
164 |
if (( syslog_priority = parsefacorprio( prio, (SLNCODE *) prioritynames )) < 0 ) |
164 |
if (( syslog_priority = parsefacorprio( prio, (SLNCODE *) prioritynames )) < 0 ) |
165 |
syslog_priority = LOG_INFO; |
165 |
syslog_priority = LOG_INFO; |
166 |
} else |
166 |
} else |
Lines 172-178
Link Here
|
172 |
log_type = LT_SYSLOG; |
172 |
log_type = LT_SYSLOG; |
173 |
log_name = NULL; |
173 |
log_name = NULL; |
174 |
openlog( n, LOG_PID, fc ); |
174 |
openlog( n, LOG_PID, fc ); |
175 |
xfree( n ); |
175 |
// xfree( n ); |
176 |
return 1; |
176 |
return 1; |
177 |
} |
177 |
} |
178 |
|
178 |
|