Actually log errors to stderr and LOG_ERR

Amazingly, this has been a mistake since c459c05
This commit is contained in:
Marc Di Luzio 2019-02-06 17:07:32 +00:00
parent d90d1a71d6
commit ae016c4b5e

View File

@ -56,9 +56,9 @@ POSSIBILITY OF SUCH DAMAGE.
#define LOG_ERROR(...) \ #define LOG_ERROR(...) \
do { \ do { \
if (get_use_syslog()) { \ if (get_use_syslog()) { \
SYSLOG_MSG(__VA_ARGS__); \ SYSLOG_ERROR(__VA_ARGS__); \
} else { \ } else { \
PLOG_MSG(__VA_ARGS__); \ PLOG_ERROR(__VA_ARGS__); \
} \ } \
} while (0) } while (0)