diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-05-22 17:20:35 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-05-22 17:20:35 +0100 |
commit | 6ae26a6b54a47f539395dc68de115b8e103a74e6 (patch) | |
tree | f5ef22cb6b4c6d2ee7630a193dd51e53ef7766c5 | |
parent | 87a59efc9476cc12d3e79b1afb55b9e59984b450 (diff) | |
download | rtmux-6ae26a6b54a47f539395dc68de115b8e103a74e6.tar.gz rtmux-6ae26a6b54a47f539395dc68de115b8e103a74e6.tar.bz2 rtmux-6ae26a6b54a47f539395dc68de115b8e103a74e6.zip |
Fix utf8proc version logging.
-rw-r--r-- | compat.h | 4 | ||||
-rw-r--r-- | proc.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -33,6 +33,10 @@ #include <ncurses.h> #endif +#ifdef HAVE_UTF8PROC +#include <utf8proc.h> +#endif + #ifndef __GNUC__ #define __attribute__(a) #endif @@ -183,14 +183,14 @@ proc_start(const char *name) log_debug("%s started (%ld): version %s, socket %s, protocol %d", name, (long)getpid(), getversion(), socket_path, PROTOCOL_VERSION); - log_debug("on %s %s %s; libevent %s (%s)" + log_debug("on %s %s %s", u.sysname, u.release, u.version); + log_debug("using libevent %s (%s)" #ifdef HAVE_UTF8PROC "; utf8proc %s/%s" #endif #ifdef NCURSES_VERSION "; ncurses " NCURSES_VERSION #endif - , u.sysname, u.release, u.version , event_get_version(), event_get_method() #ifdef HAVE_UTF8PROC , utf8proc_version (), utf8proc_unicode_version () |