Lines 402-407
Link Here
|
402 |
trace_name, fileno(trace_file) ); |
402 |
trace_name, fileno(trace_file) ); |
403 |
break; |
403 |
break; |
404 |
|
404 |
|
|
|
405 |
case 'y': /* log facility */ |
406 |
{ |
407 |
POP config; |
408 |
POP *p = &config; |
409 |
if ( set_option ( p, "log-facility", optarg ) == POP_SUCCESS ) { |
410 |
closelog(); |
411 |
#ifdef SYSLOG42 |
412 |
openlog ( pname, 0 ); |
413 |
#else |
414 |
openlog ( pname, POP_LOGOPTS, p->log_facility ); |
415 |
#endif |
416 |
} else { |
417 |
fprintf ( stderr, "Error setting '-y' to %s\n", optarg ); |
418 |
return 1; |
419 |
} |
420 |
} |
421 |
break; |
422 |
|
405 |
default: |
423 |
default: |
406 |
break; |
424 |
break; |
407 |
} |
425 |
} |