summaryrefslogtreecommitdiff
path: root/sysdep/unix
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2019-07-23 01:52:18 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2019-07-23 01:52:18 +0200
commit15b0a9229431dc75425c229b2f94e680db49d594 (patch)
tree3928d3d261fd993096bd8c85edd58399870ecee7 /sysdep/unix
parentd843c274781bf9d30bfba93229b9f02a88f26fe2 (diff)
RPKI: Fix reconfiguration when ssh parameters are undefined
Diffstat (limited to 'sysdep/unix')
-rw-r--r--sysdep/unix/log.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdep/unix/log.c b/sysdep/unix/log.c
index 9d107709..45f442e7 100644
--- a/sysdep/unix/log.c
+++ b/sysdep/unix/log.c
@@ -387,8 +387,7 @@ log_switch(int initial, list *logs, char *new_syslog_name)
current_log_list = logs;
#ifdef HAVE_SYSLOG_H
- if (current_syslog_name && new_syslog_name &&
- !strcmp(current_syslog_name, new_syslog_name))
+ if (!bstrcmp(current_syslog_name, new_syslog_name))
return;
if (current_syslog_name)