// startupLog->error("No such file", "Unable to parse configuration file", "config_file", Logging::Loggable(configname));
//
#define SLOG(oldStyle, slogCall) \
- do { \
+ if (true) { \
if (g_slogStructured) { \
slogCall; \
} \
else { \
oldStyle; \
} \
- } while (0);
+ }
#else // No structured logging (e.g. auth)
#define SLOG(oldStyle, slogCall) \
}
}
// Not found in cache, check negcache and push task if also not in negcache
- additionalsNotInCache = pushResolveIfNotInNegCache(qname, qtype, d_now);
+ if (pushResolveIfNotInNegCache(qname, qtype, d_now)) {
+ additionalsNotInCache = true;
+ }
break;
}
case AdditionalMode::Ignore: