From 00c25eada08dd3589fa04bcde12257ec50f8cd42 Mon Sep 17 00:00:00 2001 From: Kobi Mizrachi Date: Sun, 10 May 2020 08:33:07 +0300 Subject: [PATCH] server: proxy: print version and buildconfig on startup --- server/proxy/freerdp_proxy.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/server/proxy/freerdp_proxy.c b/server/proxy/freerdp_proxy.c index 3b348d094..2c0023008 100644 --- a/server/proxy/freerdp_proxy.c +++ b/server/proxy/freerdp_proxy.c @@ -24,6 +24,7 @@ #include "pf_log.h" #include "pf_modules.h" +#include #include #include #include @@ -85,6 +86,11 @@ int main(int argc, char* argv[]) char* config_path = "config.ini"; int status = -1; + WLog_INFO(TAG, "freerdp-proxy version info:"); + WLog_INFO(TAG, "\tFreeRDP version: %s", FREERDP_VERSION_FULL); + WLog_INFO(TAG, "\tGit commit: %s", GIT_REVISION); + WLog_DBG(TAG, "\tBuild config: %s", freerdp_get_build_config()); + if (argc >= 2) config_path = argv[1];