patch 9.0.0977: it is not easy to see what client-server commands are doing
Problem: It is not easy to see what client-server commands are doing.
Solution: Add channel log messages if ch_log() is available. Move the
channel logging and make it available with the +eval feature.
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c
index 1702510..c298f85 100644
--- a/src/regexp_nfa.c
+++ b/src/regexp_nfa.c
@@ -4250,7 +4250,7 @@
{
if (nfa_timed_out != NULL)
{
-# ifdef FEAT_JOB_CHANNEL
+# ifdef FEAT_EVAL
if (!*nfa_timed_out)
ch_log(NULL, "NFA regexp timed out");
# endif