]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
lib/resolve: fixed debug build
authorMarek Vavruša <marek.vavrusa@nic.cz>
Tue, 28 Apr 2015 07:21:38 +0000 (09:21 +0200)
committerMarek Vavruša <marek.vavrusa@nic.cz>
Tue, 28 Apr 2015 07:21:38 +0000 (09:21 +0200)
lib/resolve.c

index 1a96d03d06fc49410ee71b7de5f2dab8c883c5eb..281efe69ece50cd5846db456cfd14ecafc0c7be0 100644 (file)
@@ -169,7 +169,7 @@ int kr_resolve(struct kr_context* ctx, knot_pkt_t *answer,
        while (state == KNOT_STATE_PRODUCE) {
                /* Hardlimit on iterative queries */
                if (++iter_count > KR_ITER_LIMIT) {
-                       DEBUG_MSG("iteration limit %d reached\n", ITER_LIMIT);
+                       DEBUG_MSG("iteration limit %d reached\n", KR_ITER_LIMIT);
                        state = KNOT_STATE_FAIL;
                        break;
                }