Wrapping logic error opened the initialization of this ICAP-only variable
to be set when eCAP-only builds enabled adaptation.
LogfileStatus = LOG_ENABLE;
-#if USE_ADAPTATION || ICAP_CLIENT
+#if USE_ADAPTATION
alLogformatHasAdaptToken = false;
+#endif
+#if ICAP_CLIENT
alLogformatHasIcapToken = false;
+#endif
+#if USE_ADAPTATION || ICAP_CLIENT
for (logformat_token * curr_token = (log->logFormat?log->logFormat->format:NULL); curr_token; curr_token = curr_token->next) {
#if USE_ADAPTATION
if (curr_token->type == LTF_ADAPTATION_SUM_XACT_TIMES ||