Fix formatting in lib/ns/query.c broken by !9284

This commit is contained in:
Michal Nowak
2024-08-26 14:25:55 +02:00
parent 72e30c3cc0
commit 2ac61b21bb
+2 -2
View File
@@ -11498,8 +11498,8 @@ ns_query_done(query_ctx_t *qctx) {
/*
* Do we need to restart the query (e.g. for CNAME chaining)?
*/
if (qctx->want_restart && qctx->client->query.restarts <
qctx->client->view->max_restarts)
if (qctx->want_restart &&
qctx->client->query.restarts < qctx->client->view->max_restarts)
{
qctx->client->query.restarts++;
return (ns__query_start(qctx));