commit e51c5eb: [Minor] Show the fasttext status in version output

Vsevolod Stakhov vsevolod at rspamd.com
Sat May 6 01:42:03 UTC 2023


Author: Vsevolod Stakhov
Date: 2023-05-06 02:35:55 +0100
URL: https://github.com/rspamd/rspamd/commit/e51c5eb9501607f16cd0cd02c03c58e4a2dcfe1c (HEAD -> master)

[Minor] Show the fasttext status in version output

---
 src/rspamd.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/rspamd.c b/src/rspamd.c
index 4e6336394..17c6a8286 100644
--- a/src/rspamd.c
+++ b/src/rspamd.c
@@ -1328,6 +1328,11 @@ version (struct rspamd_main *rspamd_main)
 #else
 	rspamd_printf ("BLAS enabled: FALSE\n");
 #endif
+#ifdef WITH_FASTTEXT
+	rspamd_printf ("Fasttext enabled: TRUE\n");
+#else
+	rspamd_printf ("Fasttext enabled: FALSE\n");
+#endif
 }
 
 static gboolean


More information about the Commits mailing list