]> The Tcpdump Group git mirrors - libpcap/commitdiff
gencode: fix unintentional infinite recursion from previous edit.
authorGuy Harris <[email protected]>
Thu, 5 Dec 2024 18:27:56 +0000 (10:27 -0800)
committerGuy Harris <[email protected]>
Thu, 5 Dec 2024 18:27:56 +0000 (10:27 -0800)
gen_retblk() should call the routine that does the work, not itself.

gencode.c

index 76cc2d761513a0a50e767588439ed122f12eaeb9..3ddd8b4c18e99a3d61bfa84a99394258371e3da5 100644 (file)
--- a/gencode.c
+++ b/gencode.c
@@ -844,7 +844,7 @@ gen_retblk(compiler_state_t *cstate, int v)
                 */
                return NULL;
        }
-       return gen_retblk(cstate, v);
+       return gen_retblk_internal(cstate, v);
 }
 
 static inline PCAP_NORETURN_DEF void