From 7c89c5c5747cacffddc6dfff44bbb5010d1beb3f Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 19 Jan 1999 04:31:30 +0000 Subject: [PATCH] second level switch was using the wrong variable --- lib/dns/gen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dns/gen.c b/lib/dns/gen.c index 6acffaf1e9..a269c18ed7 100644 --- a/lib/dns/gen.c +++ b/lib/dns/gen.c @@ -146,7 +146,7 @@ doswitch(char *name, char *function, char *args, } if (tt->class && tt->type != lasttype) { fprintf(stdout, "\tcase %d: switch (%s) { \\\n" /*}*/, - tt->type, tsw); + tt->type, csw); subswitch = 1; } if (tt->class == 0)