C-API: Added cli_process_control(), added uid to cli_process_control()
This commit is contained in:
parent
bd6a67f1d9
commit
080eef0278
12 changed files with 103 additions and 20 deletions
|
|
@ -243,7 +243,7 @@ clicon_log_str(int level,
|
|||
char *msg)
|
||||
{
|
||||
if (_logflags & CLICON_LOG_SYSLOG)
|
||||
syslog(LOG_MAKEPRI(LOG_USER, level), "%s", msg);
|
||||
syslog(LOG_MAKEPRI(LOG_USER, level), "%s", msg); // XXX this may block
|
||||
/* syslog makes own filtering, we do it here:
|
||||
* if normal (not debug) then filter loglevels >= debug
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue