git ssb

0+

cel / sslh



Commit f4d2a8d2adb32056e656a73ce3d1d1d155f81046

fix logging to specified facility

Yves Rutschle committed on 7/22/2017, 3:20:45 PM
Parent: aa06261d70509eb5a571937d5e3d5c41e11f193d

Files changed

common.cchanged
common.cView
@@ -653,9 +653,9 @@
653653 fprintf(stderr, "Unknown facility %s\n", facility);
654654 exit(1);
655655 }
656656
657- openlog(name2, LOG_CONS, fn);
657 + openlog(name2, LOG_CONS, facilitynames[fn].c_val);
658658 free(name1);
659659 /* Don't free name2, as openlog(3) uses it (at least in glibc) */
660660
661661 log_message(LOG_INFO, "%s %s started\n", server_type, VERSION);

Built with git-ssb-web